Changeset 61795 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Jun 21, 2016 2:18:04 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 108193
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/APICAll.cpp
r61794 r61795 2091 2091 * 2092 2092 * We'll also manually manage the APIC base MSR here. We want a single-point of commit 2093 * at the end of this function rather than touching it in APICR3Reset. This means we also2093 * at the end of this function rather than updating it in apicR3ResetCpu. This means we also 2094 2094 * need to update the CPUID leaf ourselves. 2095 2095 */ 2096 apicR3Reset Ex(pVCpu, false /* fResetApicBaseMsr */);2096 apicR3ResetCpu(pVCpu, false /* fResetApicBaseMsr */); 2097 2097 uBaseMsr &= ~(MSR_IA32_APICBASE_EN | MSR_IA32_APICBASE_EXTD); 2098 2098 CPUMSetGuestCpuIdPerCpuApicFeature(pVCpu, false /*fVisible*/); … … 2398 2398 case XAPICDELIVERYMODE_EXTINT: 2399 2399 { 2400 Log2(("APIC%u: APICLocalInterrupt: %s ExtINT through LINT%u\n", pVCpu->idCpu,2400 Log2(("APIC%u: apicLocalInterrupt: %s ExtINT through LINT%u\n", pVCpu->idCpu, 2401 2401 u8Level ? "Raising" : "Lowering", u8Pin)); 2402 2402 if (u8Level) … … 2426 2426 { 2427 2427 /* LINT0 behaves as an external interrupt pin. */ 2428 Log2(("APIC%u: APICLocalInterrupt: APIC hardware-disabled, %s INTR\n", pVCpu->idCpu,2428 Log2(("APIC%u: apicLocalInterrupt: APIC hardware-disabled, %s INTR\n", pVCpu->idCpu, 2429 2429 u8Level ? "raising" : "lowering")); 2430 2430 if (u8Level) … … 2436 2436 { 2437 2437 /* LINT1 behaves as NMI. */ 2438 Log2(("APIC%u: APICLocalInterrupt: APIC hardware-disabled, raising NMI\n", pVCpu->idCpu));2438 Log2(("APIC%u: apicLocalInterrupt: APIC hardware-disabled, raising NMI\n", pVCpu->idCpu)); 2439 2439 apicSetInterruptFF(pVCpu, PDMAPICIRQ_NMI); 2440 2440 } … … 2454 2454 NOREF(pu32TagSrc); 2455 2455 2456 LogFlow(("APIC%u: APICGetInterrupt:\n", pVCpu->idCpu));2456 LogFlow(("APIC%u: apicGetInterrupt:\n", pVCpu->idCpu)); 2457 2457 2458 2458 PXAPICPAGE pXApicPage = VMCPU_TO_XAPICPAGE(pVCpu); … … 2475 2475 && XAPIC_TPR_GET_TP(uVector) <= XAPIC_TPR_GET_TP(uTpr)) 2476 2476 { 2477 Log2(("APIC%u: APICGetInterrupt: Interrupt masked. uVector=%#x uTpr=%#x SpuriousVector=%#x\n", pVCpu->idCpu,2477 Log2(("APIC%u: apicGetInterrupt: Interrupt masked. uVector=%#x uTpr=%#x SpuriousVector=%#x\n", pVCpu->idCpu, 2478 2478 uVector, uTpr, pXApicPage->svr.u.u8SpuriousVector)); 2479 2479 *pu8Vector = uVector; … … 2496 2496 apicSignalNextPendingIntr(pVCpu); 2497 2497 2498 Log2(("APIC%u: APICGetInterrupt: Valid Interrupt. uVector=%#x\n", pVCpu->idCpu, uVector));2498 Log2(("APIC%u: apicGetInterrupt: Valid Interrupt. uVector=%#x\n", pVCpu->idCpu, uVector)); 2499 2499 *pu8Vector = uVector; 2500 2500 return VINF_SUCCESS; … … 2503 2503 { 2504 2504 STAM_COUNTER_INC(&pVCpu->apic.s.StatMaskedByPpr); 2505 Log2(("APIC%u: APICGetInterrupt: Interrupt's priority is not higher than the PPR. uVector=%#x PPR=%#x\n",2505 Log2(("APIC%u: apicGetInterrupt: Interrupt's priority is not higher than the PPR. uVector=%#x PPR=%#x\n", 2506 2506 pVCpu->idCpu, uVector, uPpr)); 2507 2507 } 2508 2508 } 2509 2509 else 2510 Log2(("APIC%u: APICGetInterrupt: No pending bits in IRR\n", pVCpu->idCpu));2510 Log2(("APIC%u: apicGetInterrupt: No pending bits in IRR\n", pVCpu->idCpu)); 2511 2511 } 2512 2512 else 2513 Log2(("APIC%u: APICGetInterrupt: APIC %s disabled\n", pVCpu->idCpu, !fApicHwEnabled ? "hardware" : "software"));2513 Log2(("APIC%u: apicGetInterrupt: APIC %s disabled\n", pVCpu->idCpu, !fApicHwEnabled ? "hardware" : "software")); 2514 2514 2515 2515 return VERR_APIC_INTR_NOT_PENDING; … … 2536 2536 *(uint32_t *)pv = uValue; 2537 2537 2538 Log2(("APIC%u: APICReadMmio: offReg=%#RX16 uValue=%#RX32\n", pVCpu->idCpu, offReg, uValue));2538 Log2(("APIC%u: apicReadMmio: offReg=%#RX16 uValue=%#RX32\n", pVCpu->idCpu, offReg, uValue)); 2539 2539 return rc; 2540 2540 } … … 2694 2694 uint64_t const cTicksToNext = (uint64_t)uInitialCount << uTimerShift; 2695 2695 2696 Log2(("APIC%u: APICStartTimer: uInitialCount=%#RX32 uTimerShift=%u cTicksToNext=%RU64\n", pVCpu->idCpu, uInitialCount,2696 Log2(("APIC%u: apicStartTimer: uInitialCount=%#RX32 uTimerShift=%u cTicksToNext=%RU64\n", pVCpu->idCpu, uInitialCount, 2697 2697 uTimerShift, cTicksToNext)); 2698 2698 … … 2721 2721 Assert(TMTimerIsLockOwner(pApicCpu->CTX_SUFF(pTimer))); 2722 2722 2723 Log2(("APIC%u: APICStopTimer\n", pVCpu->idCpu));2723 Log2(("APIC%u: apicStopTimer\n", pVCpu->idCpu)); 2724 2724 2725 2725 PTMTIMER pTimer = pApicCpu->CTX_SUFF(pTimer);
Note:
See TracChangeset
for help on using the changeset viewer.