- Timestamp:
- Jul 8, 2013 11:16:27 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMR0Mixed.mac
r46944 r47032 854 854 855 855 ; Save the Guest CPU context pointer. 856 mov rsi, [rbp + xCB * 2 ]; pCtx857 push rsi ; push for saving the state at the end856 mov rsi, [rbp + xCB * 2 + RTHCPHYS_CB * 2] ; pCtx 857 push rsi ; push for saving the state at the end 858 858 859 859 ; 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 vmrun860 mov rax, [rbp + xCB * 2] ; pVMCBHostPhys (64 bits physical address; x86: take low dword only) 861 push rax ; Save for the vmload after vmrun 862 862 vmsave 863 863 864 864 ; 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) 866 866 867 867 ; Restore Guest's general purpose registers. … … 928 928 popf 929 929 pop rbp 930 add rsp, 4 *xCB930 add rsp, 4 * xCB 931 931 ret 932 932 ENDPROC MY_NAME(SVMR0VMRun64)
Note:
See TracChangeset
for help on using the changeset viewer.