Changeset 19813 in vbox
- Timestamp:
- May 19, 2009 11:57:13 AM (15 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
-
HWSVMR0.cpp (modified) (5 diffs)
-
HWVMXR0.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r19812 r19813 989 989 * This must be done *before* we check for TLB flushes; TLB shootdowns rely on this. 990 990 */ 991 RTCCUINTREG u Flags = ASMIntDisableFlags();991 RTCCUINTREG uOldEFlags = ASMIntDisableFlags(); 992 992 VMCPU_SET_STATE(pVCpu, VMCPUSTATE_STARTED_EXEC); 993 993 … … 1081 1081 TMNotifyEndOfExecution(pVCpu); 1082 1082 VMCPU_SET_STATE(pVCpu, VMCPUSTATE_STARTED); 1083 ASMSetFlags(u Flags);1083 ASMSetFlags(uOldEFlags); 1084 1084 STAM_PROFILE_ADV_STOP(&pVCpu->hwaccm.s.StatInGC, x); 1085 1085 … … 2400 2400 { 2401 2401 int rc; 2402 RTHCUINTREG u Flags;2402 RTHCUINTREG uOldEFlags; 2403 2403 2404 2404 /* @todo This code is not guest SMP safe (hyper stack) */ … … 2406 2406 Assert(pfnHandler); 2407 2407 2408 u Flags = ASMIntDisableFlags();2408 uOldEFlags = ASMIntDisableFlags(); 2409 2409 2410 2410 CPUMSetHyperESP(pVCpu, VMMGetStackRC(pVM)); … … 2418 2418 STAM_PROFILE_ADV_STOP(&pVCpu->hwaccm.s.StatWorldSwitch3264, z); 2419 2419 2420 ASMSetFlags(u Flags);2420 ASMSetFlags(uOldEFlags); 2421 2421 return rc; 2422 2422 } -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r19812 r19813 2195 2195 * This must be done *before* we check for TLB flushes; TLB shootdowns rely on this. 2196 2196 */ 2197 RTCCUINTREG u Flags = ASMIntDisableFlags();2197 RTCCUINTREG uOldEFlags = ASMIntDisableFlags(); 2198 2198 VMCPU_SET_STATE(pVCpu, VMCPUSTATE_STARTED_EXEC); 2199 2199 … … 2236 2236 TMNotifyEndOfExecution(pVCpu); 2237 2237 VMCPU_SET_STATE(pVCpu, VMCPUSTATE_STARTED); 2238 ASMSetFlags(u Flags);2238 ASMSetFlags(uOldEFlags); 2239 2239 2240 2240 AssertMsg(!pVCpu->hwaccm.s.vmx.VMCSCache.Write.cValidEntries, ("pVCpu->hwaccm.s.vmx.VMCSCache.Write.cValidEntries=%d\n", pVCpu->hwaccm.s.vmx.VMCSCache.Write.cValidEntries));
Note:
See TracChangeset
for help on using the changeset viewer.

