VirtualBox

Changeset 55298 in vbox


Ignore:
Timestamp:
Apr 16, 2015 8:23:39 AM (10 years ago)
Author:
vboxsync
Message:

VMMSwitcher: try to fix crash on 32-bit AMD boxes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMSwitcher/LegacyandAMD64.mac

    r55290 r55298  
    12201220; * @param   HCPhysVMCB     Physical address of host VMCB       (rsp+8)
    12211221; * @param   HCPhysVMCB     Physical address of guest VMCB      (rsp+16)
    1222 ; * @param   pVM            The VM handle                       (rbp+18h)
    1223 ; * @param   pVM            The VMCPU handle.                   (rbp+20h)
     1222; * @param   pVM            The VM handle                       (rbp+20h)
     1223; * @param   pVM            The VMCPU handle.                   (rbp+28h)
    12241224; * @param   pCtx           Guest context                       (rsi)
    12251225; */
     
    12451245    ; Save the host XCR0 and load the guest one if necessary.
    12461246    ;
    1247     mov     rax, [rbx + 20h]            ; pVCpu
     1247    mov     rax, [rbp + 28h]            ; pVCpu
    12481248    test    byte [rax + VMCPU.hm + HMCPU.fLoadSaveGuestXcr0], 1
    12491249    jz      .xcr0_before_skip
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