Changeset 9896 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jun 25, 2008 7:39:24 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWACCMR0A.asm
r9854 r9896 928 928 929 929 930 %if GC_ARCH_BITS == 64 931 ;; 932 ; Executes INVLPGA 933 ; 934 ; @param pPageGC msc:rcx gcc:rdi x86:[esp+04] Virtual page to invalidate 935 ; @param uASID msc:rdx gcc:rsi x86:[esp+0C] Tagged TLB id 936 ; 937 ;DECLASM(void) SVMInvlpgA(RTGCPTR pPageGC, uint32_t uASID); 938 BEGINPROC SVMInvlpgA 939 %ifdef RT_ARCH_AMD64 940 %ifdef ASM_CALL64_GCC 941 mov rax, rdi 942 mov rcx, rsi 943 %else 944 movzx rax, ecx 945 mov rcx, rdx 946 %endif 947 %else 948 mov eax, [esp + 4] 949 mov ecx, [esp + 0Ch] 950 %endif 951 invlpga [xAX], ecx 952 ret 953 ENDPROC SVMInvlpgA 954 955 %else 930 956 ;; 931 957 ; Executes INVLPGA … … 938 964 %ifdef RT_ARCH_AMD64 939 965 %ifdef ASM_CALL64_GCC 940 mov eax, edi ;; @todo 64-bit guest.966 movzx rax, edi 941 967 mov ecx, esi 942 968 %else 943 mov eax, ecx ;; @todo 64-bit guest.969 movzx rax, ecx 944 970 mov ecx, edx 945 971 %endif … … 952 978 ENDPROC SVMInvlpgA 953 979 980 %endif ; GC_ARCH_BITS != 64 981
Note:
See TracChangeset
for help on using the changeset viewer.