VirtualBox

Changeset 682 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Feb 6, 2007 4:45:25 AM (18 years ago)
Author:
vboxsync
Message:

SVMInvlpgA.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWACCMR0A.asm

    r673 r682  
    703703ENDPROC SVMVMRun
    704704
     705%ifdef __AMD64__
     706%ifdef __WIN__
     707
     708;;
     709; Executes INVLPGA
     710;
     711; @param   pPageGC  msc:ecx  gcc:edi  x86:[esp+04]  Virtual page to invalidate
     712; @param   uASID    msc:edx  gcc:esi  x86:[esp+08]  Tagged TLB id
     713;
     714;DECLASM(void) SVMInvlpgA(RTGCPTR pPageGC, uint32_t uASID);
     715BEGINPROC SVMInvlpgA
     716%ifdef __AMD64__
     717 %ifdef ASM_CALL64_GCC
     718    mov     eax, edi                    ;; @todo 64-bit guest.
     719    mov     ecx, esi
     720 %else
     721    mov     eax, ecx                    ;; @todo 64-bit guest.
     722    mov     ecx, edx
     723 %endif
     724    invlpga rax, ecx
     725%else
     726    mov     eax, [esp + 4]
     727    mov     ecx, [esp + 8]
     728    invlpga eax, ecx
     729%endif
     730    ret
     731ENDPROC SVMInvlpgA
     732%endif
     733%endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette