VirtualBox

Changeset 2731 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
May 21, 2007 1:13:42 PM (18 years ago)
Author:
vboxsync
Message:

VMXWriteVMCS64 bug fixes

File:
1 edited

Legend:

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

    r1223 r2731  
    438438; * @returns VBox status code
    439439; * @param   idxField   x86: [ebp + 08h]  msc: rcx  gcc: edi   VMCS index
    440 ; * @param   pData      x86: [ebp + 0ch]  msc: rdx  gcc: rsi   Ptr to store VM field value
     440; * @param   pData      x86: [ebp + 0ch]  msc: rdx  gcc: rsi   VM field value
    441441; */
    442442BEGINPROC VMXWriteVMCS64
    443443%ifdef ASM_CALL64_GCC
    444444    and         edi, 0ffffffffh; serious paranoia
    445     vmwrite     rdi, [rsi]
     445    vmwrite     rdi, rsi
    446446%else
    447447    and         ecx, 0ffffffffh; serious paranoia
    448     vmwrite     rcx, [rdx]
     448    vmwrite     rcx, rdx
    449449%endif
    450450    jnc         .valid_vmcs
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