VirtualBox

Changeset 61112 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 20, 2016 4:58:41 PM (9 years ago)
Author:
vboxsync
Message:

CPUMRZA.asm: Missed one pXStatR0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMRZ/CPUMRZA.asm

    r61109 r61112  
    212212        SEH64_SET_FRAME_xBP 0
    213213SEH64_END_PROLOGUE
     214
    214215%ifndef VBOX_WITH_KERNEL_USING_XMM
    215 
    216216        ;
    217217        ; Load xCX with the guest pXStateR0.
    218218        ;
    219  %ifdef RT_ARCH_AMD64
    220   %ifdef ASM_CALL64_MSC
    221         mov     xCX, [rcx + CPUMCPU.Guest.pXStateR0]
    222   %else
    223         mov     xCX, [rdi + CPUMCPU.Guest.pXStateR0]
    224   %endif
    225  %else
    226         mov     ecx, dword [ebp + 8]
    227         mov     ecx, [ecx + CPUMCPU.Guest.pXStateR0]
     219 %ifdef ASM_CALL64_GCC
     220        mov     xCX, rdi
     221 %elifdef RT_ARCH_X86
     222        mov     xCX, dword [ebp + 8]
     223 %endif
     224 %ifdef IN_RING0
     225        mov     xCX, [xCX + CPUMCPU.Guest.pXStateR0]
     226 %elifdef IN_RC
     227        mov     xCX, [xCX + CPUMCPU.Guest.pXStateRC]
     228 %else
     229  %error "Invalid context!"
    228230 %endif
    229231
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