Changeset 87752 in vbox for trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
- Timestamp:
- Feb 13, 2021 2:13:15 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 142804
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r87751 r87752 1306 1306 1307 1307 /* Set TLB flush state as checked until we return from the world switch. */ 1308 ASMAtomic WriteBool(&pVCpu->hm.s.fCheckedTLBFlush, true);1308 ASMAtomicUoWriteBool(&pVCpu->hm.s.fCheckedTLBFlush, true); 1309 1309 1310 1310 /* Check for explicit TLB flushes. */ … … 4273 4273 #endif 4274 4274 4275 ASMAtomic WriteBool(&pVCpu->hm.s.fCheckedTLBFlush, true);/* Used for TLB flushing, set this across the world switch. */4275 ASMAtomicUoWriteBool(&pVCpu->hm.s.fCheckedTLBFlush, true); /* Used for TLB flushing, set this across the world switch. */ 4276 4276 /* Flush the appropriate tagged-TLB entries. */ 4277 4277 hmR0SvmFlushTaggedTlb(pHostCpu, pVCpu, pVmcb); … … 4351 4351 4352 4352 uint64_t const uHostTsc = ASMReadTSC(); /* Read the TSC as soon as possible. */ 4353 ASMAtomic WriteBool(&pVCpu->hm.s.fCheckedTLBFlush, false);/* See HMInvalidatePageOnAllVCpus(): used for TLB flushing. */4353 ASMAtomicUoWriteBool(&pVCpu->hm.s.fCheckedTLBFlush, false); /* See HMInvalidatePageOnAllVCpus(): used for TLB flushing. */ 4354 4354 ASMAtomicIncU32(&pVCpu->hmr0.s.cWorldSwitchExits); /* Initialized in vmR3CreateUVM(): used for EMT poking. */ 4355 4355
Note:
See TracChangeset
for help on using the changeset viewer.