- Timestamp:
- Oct 28, 2009 1:18:51 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 54059
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMGC/PDMGCDevice.cpp
r24125 r24138 370 370 PDMDEV_ASSERT_DEVINS(pDevIns); 371 371 PVM pVM = pDevIns->Internal.s.pVMRC; 372 373 if (pVM->pdm.s.Apic.pfnLocalInterruptRC) 374 { 375 LogFlow(("pdmRCPicHlp_SetInterruptFF: caller='%p'/%d: Setting local interrupt on LAPIC\n", 376 pDevIns, pDevIns->iInstance)); 377 /* Raise the LAPIC's LINT0 line instead of signaling the CPU directly. */ 378 pVM->pdm.s.Apic.pfnLocalInterruptRC(pVM->pdm.s.Apic.pDevInsRC, 0, 1); 379 return; 380 } 381 372 382 PVMCPU pVCpu = &pVM->aCpus[0]; /* for PIC we always deliver to CPU 0, MP use APIC */ 373 383 … … 384 394 PDMDEV_ASSERT_DEVINS(pDevIns); 385 395 PVM pVM = pDevIns->Internal.s.CTX_SUFF(pVM); 396 397 if (pVM->pdm.s.Apic.pfnLocalInterruptRC) 398 { 399 /* Raise the LAPIC's LINT0 line instead of signaling the CPU directly. */ 400 LogFlow(("pdmRCPicHlp_ClearInterruptFF: caller='%s'/%d: Clearing local interrupt on LAPIC\n", 401 pDevIns, pDevIns->iInstance)); 402 /* Lower the LAPIC's LINT0 line instead of signaling the CPU directly. */ 403 pVM->pdm.s.Apic.pfnLocalInterruptRC(pVM->pdm.s.Apic.pDevInsRC, 0, 0); 404 return; 405 } 406 386 407 PVMCPU pVCpu = &pVM->aCpus[0]; /* for PIC we always deliver to CPU 0, MP use APIC */ 387 408 -
trunk/src/VBox/VMM/VMMR0/PDMR0Device.cpp
r24125 r24138 386 386 PDMDEV_ASSERT_DEVINS(pDevIns); 387 387 PVM pVM = pDevIns->Internal.s.pVMR0; 388 389 if (pVM->pdm.s.Apic.pfnLocalInterruptR0) 390 { 391 LogFlow(("pdmR0PicHlp_SetInterruptFF: caller='%p'/%d: Setting local interrupt on LAPIC\n", 392 pDevIns, pDevIns->iInstance)); 393 /* Raise the LAPIC's LINT0 line instead of signaling the CPU directly. */ 394 pVM->pdm.s.Apic.pfnLocalInterruptR0(pVM->pdm.s.Apic.pDevInsR0, 0, 1); 395 return; 396 } 397 388 398 PVMCPU pVCpu = &pVM->aCpus[0]; /* for PIC we always deliver to CPU 0, MP use APIC */ 389 399 … … 400 410 PDMDEV_ASSERT_DEVINS(pDevIns); 401 411 PVM pVM = pDevIns->Internal.s.pVMR0; 412 413 if (pVM->pdm.s.Apic.pfnLocalInterruptR0) 414 { 415 /* Raise the LAPIC's LINT0 line instead of signaling the CPU directly. */ 416 LogFlow(("pdmR0PicHlp_ClearInterruptFF: caller='%s'/%d: Clearing local interrupt on LAPIC\n", 417 pDevIns, pDevIns->iInstance)); 418 /* Lower the LAPIC's LINT0 line instead of signaling the CPU directly. */ 419 pVM->pdm.s.Apic.pfnLocalInterruptR0(pVM->pdm.s.Apic.pDevInsR0, 0, 0); 420 return; 421 } 422 402 423 PVMCPU pVCpu = &pVM->aCpus[0]; /* for PIC we always deliver to CPU 0, MP use APIC */ 403 424
Note:
See TracChangeset
for help on using the changeset viewer.