Changeset 87462 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Jan 28, 2021 2:45:14 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 142481
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMR0A.asm
r87457 r87462 699 699 ; 700 700 ; @returns VBox status code 701 ; @param pVM msc:rcx, gcc:rdi The cross context VM structure. (unused)701 ; @param NULL msc:rcx, gcc:rdi The cross context VM structure. (unused, passing NULL now) 702 702 ; @param pVCpu msc:rdx, gcc:rsi The cross context virtual CPU structure of the calling EMT. 703 703 ; @param fResume msc:r8l, gcc:dl Whether to use vmlauch/vmresume. -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r87443 r87462 6846 6846 { 6847 6847 /* Mark that HM is the keeper of all guest-CPU registers now that we're going to execute guest code. */ 6848 PCPUMCTX pCtx = &pVCpu->cpum.GstCtx; 6849 pCtx->fExtrn |= HMVMX_CPUMCTX_EXTRN_ALL | CPUMCTX_EXTRN_KEEPER_HM; 6848 pVCpu->cpum.GstCtx.fExtrn |= HMVMX_CPUMCTX_EXTRN_ALL | CPUMCTX_EXTRN_KEEPER_HM; 6850 6849 6851 6850 /** @todo Add stats for VMRESUME vs VMLAUNCH. */ 6852 6853 /*6854 * 64-bit Windows uses XMM registers in the kernel as the Microsoft compiler expresses6855 * floating-point operations using SSE instructions. Some XMM registers (XMM6-XMM15) are6856 * callee-saved and thus the need for this XMM wrapper.6857 *6858 * See MSDN "Configuring Programs for 64-bit/x64 Software Conventions / Register Usage".6859 */6860 6851 bool const fResumeVM = RT_BOOL(pVmxTransient->pVmcsInfo->fVmcsState & VMX_V_VMCS_LAUNCH_STATE_LAUNCHED); 6861 PVMCC pVM = pVCpu->CTX_SUFF(pVM); 6862 int rc = pVCpu->hm.s.vmx.pfnStartVm(pVM, pVCpu, fResumeVM); 6852 int rc = pVCpu->hm.s.vmx.pfnStartVm(NULL /*pVCpu->CTX_SUFF(pVM) - unused*/, pVCpu, fResumeVM); 6863 6853 AssertMsg(rc <= VINF_SUCCESS, ("%Rrc\n", rc)); 6864 6854 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.