Changeset 60593 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Apr 20, 2016 11:02:38 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/APIC.cpp
r60543 r60593 1184 1184 ApicReg.pfnLocalInterruptR3 = APICLocalInterrupt; 1185 1185 ApicReg.pfnGetTimerFreqR3 = APICGetTimerFreq; 1186 if (pApic->fRZEnabled) 1186 1187 /* 1188 * We always require R0 functionality (e.g. APICGetTpr() called by HMR0 VT-x/AMD-V code). 1189 * Hence, 'fRZEnabled' strictly only applies to MMIO and MSR read/write handlers returning 1190 * to ring-3. We still need other handlers like APICGetTpr() in ring-0 for now. 1191 */ 1187 1192 { 1188 1193 ApicReg.pszGetInterruptRC = "APICGetInterrupt"; … … 1264 1269 pApicCpu->pTimerR0 = TMTimerR0Ptr(pApicCpu->pTimerR3); 1265 1270 pApicCpu->pTimerRC = TMTimerRCPtr(pApicCpu->pTimerR3); 1266 #if 01267 rc = PDMR3CritSectInit(pVM, &pApicCpu->TimerCritSect, RT_SRC_POS, pApicCpu->szTimerDesc);1268 AssertRCReturn(rc, rc);1269 TMR3TimerSetCritSect(pApicCpu->pTimerR3, &pApicCpu->TimerCritSect);1270 #endif1271 1271 } 1272 1272 else … … 1332 1332 APIC_PROF_COUNTER(&pApicCpu->StatUpdatePendingIntrs, "Profiling of APICUpdatePendingInterrupts", 1333 1333 "/PROF/CPU%d/APIC/UpdatePendingInterrupts"); 1334 APIC_PROF_COUNTER(&pApicCpu->StatPostInterrupt, "Profiling of APICPostInterrupt", "/PROF/CPU%d/APIC/PostInterrupt"); 1335 } 1334 APIC_PROF_COUNTER(&pApicCpu->StatPostIntr, "Profiling of APICPostInterrupt", "/PROF/CPU%d/APIC/PostInterrupt"); 1335 1336 APIC_REG_COUNTER(&pApicCpu->StatPostIntrAlreadyPending, "Number of times an interrupt is already pending.", 1337 "/Devices/APIC/%u/PostInterruptAlreadyPending"); 1338 } 1339 # undef APIC_PROF_COUNTER 1336 1340 # undef APIC_REG_ACCESS_COUNTER 1337 1341 #endif
Note:
See TracChangeset
for help on using the changeset viewer.