Changeset 49934 in vbox
- Timestamp:
- Dec 16, 2013 2:51:20 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/VMM/VMMR0/HMR0.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMR0.cpp
r49932 r49934 908 908 Assert(!pCpu->fConfigured); 909 909 910 pCpu->idCpu = idCpu; 911 pCpu->uCurrentAsid = 0; /* we'll aways increment this the first time (host uses ASID 0) */ 910 pCpu->idCpu = idCpu; 912 911 /* Do NOT reset cTlbFlushes here, see @bugref{6255}. */ 913 912 … … 976 975 g_HvmR0.fGlobalInit = pVM->hm.s.fGlobalInit; 977 976 977 #ifdef VBOX_STRICT 978 978 for (unsigned i = 0; i < RT_ELEMENTS(g_HvmR0.aCpuInfo); i++) 979 979 { 980 980 Assert(g_HvmR0.aCpuInfo[i].hMemObj == NIL_RTR0MEMOBJ); 981 g_HvmR0.aCpuInfo[i].fConfigured = false; 982 g_HvmR0.aCpuInfo[i].cTlbFlushes = 0; 983 g_HvmR0.aCpuInfo[i].uCurrentAsid = 0; 984 } 981 Assert(!g_HvmR0.aCpuInfo[i].fConfigured); 982 Assert(!g_HvmR0.aCpuInfo[i].cTlbFlushes); 983 Assert(!g_HvmR0.aCpuInfo[i].uCurrentAsid); 984 } 985 #endif 985 986 986 987 int rc; … … 1089 1090 rc = VINF_SUCCESS; /* nothing to do */ 1090 1091 1091 pCpu->uCurrentAsid = 0;1092 1092 return rc; 1093 1093 }
Note:
See TracChangeset
for help on using the changeset viewer.

