VirtualBox

Changeset 47032 in vbox for trunk


Ignore:
Timestamp:
Jul 8, 2013 11:16:27 AM (12 years ago)
Author:
vboxsync
Message:

VMM/VMMR0: HMR0 fix regression caused by r86900.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMR0Mixed.mac

    r46944 r47032  
    854854
    855855    ; Save the Guest CPU context pointer.
    856     mov     rsi, [rbp + xCB * 2]                  ; pCtx
    857     push    rsi                                   ; push for saving the state at the end
     856    mov     rsi, [rbp + xCB * 2 + RTHCPHYS_CB * 2]  ; pCtx
     857    push    rsi                                     ; push for saving the state at the end
    858858
    859859    ; Save host fs, gs, sysenter msr etc.
    860     mov     rax, [rbp + xCB * 2]                  ; pVMCBHostPhys (64 bits physical address; x86: take low dword only)
    861     push    rax                                   ; Save for the vmload after vmrun
     860    mov     rax, [rbp + xCB * 2]                    ; pVMCBHostPhys (64 bits physical address; x86: take low dword only)
     861    push    rax                                     ; Save for the vmload after vmrun
    862862    vmsave
    863863
    864864    ; Setup eax for VMLOAD.
    865     mov     rax, [rbp + xCB * 2 + RTHCPHYS_CB]    ; pVMCBPhys (64 bits physical address; take low dword only)
     865    mov     rax, [rbp + xCB * 2 + RTHCPHYS_CB]      ; pVMCBPhys (64 bits physical address; take low dword only)
    866866
    867867    ; Restore Guest's general purpose registers.
     
    928928    popf
    929929    pop     rbp
    930     add     rsp, 4*xCB
     930    add     rsp, 4 * xCB
    931931    ret
    932932ENDPROC MY_NAME(SVMR0VMRun64)
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