Changeset 12669 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Sep 23, 2008 1:40:02 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 36962
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMDevice.cpp
r12667 r12669 4077 4077 PDMDEV_ASSERT_DEVINS(pDevIns); 4078 4078 PVM pVM = pDevIns->Internal.s.pVMHC; 4079 #ifdef VBOX_WITH_SMP_GUESTS 4080 LogFlow(("pdmR3ApicHlp_SetInterruptFF: caller='%s'/%d: VM_FF_INTERRUPT %d -> 1\n", 4081 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, VMCPU_FF_ISSET(pVM, cpuid, VM_FF_INTERRUPT_APIC))); 4082 VMCPU_FF_SET(pVM, cpuid, VM_FF_INTERRUPT_APIC); 4083 #else 4079 4084 LogFlow(("pdmR3ApicHlp_SetInterruptFF: caller='%s'/%d: VM_FF_INTERRUPT %d -> 1\n", 4080 4085 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, VM_FF_ISSET(pVM, VM_FF_INTERRUPT_APIC))); 4081 4086 VM_FF_SET(pVM, VM_FF_INTERRUPT_APIC); 4087 #endif 4082 4088 REMR3NotifyInterruptSet(pVM); 4083 4089 VMR3NotifyFF(pVM, true); … … 4089 4095 { 4090 4096 PDMDEV_ASSERT_DEVINS(pDevIns); 4097 #ifdef VBOX_WITH_SMP_GUESTS 4098 LogFlow(("pdmR3ApicHlp_ClearInterruptFF: caller='%s'/%d: VM_FF_INTERRUPT %d -> 0\n", 4099 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, VMCPU_FF_ISSET(pDevIns->Internal.s.pVMHC, cpuid, VM_FF_INTERRUPT_APIC))); 4100 VMCPU_FF_CLEAR(pDevIns->Internal.s.pVMHC, cpuid, VM_FF_INTERRUPT_APIC); 4101 #else 4091 4102 LogFlow(("pdmR3ApicHlp_ClearInterruptFF: caller='%s'/%d: VM_FF_INTERRUPT %d -> 0\n", 4092 4103 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, VM_FF_ISSET(pDevIns->Internal.s.pVMHC, VM_FF_INTERRUPT_APIC))); 4093 4104 VM_FF_CLEAR(pDevIns->Internal.s.pVMHC, VM_FF_INTERRUPT_APIC); 4105 #endif 4094 4106 REMR3NotifyInterruptClear(pDevIns->Internal.s.pVMHC); 4095 4107 } -
trunk/src/VBox/VMM/VMMGC/PDMGCDevice.cpp
r12667 r12669 396 396 { 397 397 PDMDEV_ASSERT_DEVINS(pDevIns); 398 #ifdef VBOX_WITH_SMP_GUESTS 399 LogFlow(("pdmRCApicHlp_SetInterruptFF: caller=%p/%d: VM_FF_INTERRUPT %d -> 1\n", 400 pDevIns, pDevIns->iInstance, VMCPU_FF_ISSET(pDevIns->Internal.s.pVMGC, cpuid, VM_FF_INTERRUPT_APIC))); 401 VMCPU_FF_SET(pDevIns->Internal.s.pVMGC, cpuid, VM_FF_INTERRUPT_APIC); 402 #else 398 403 LogFlow(("pdmRCApicHlp_SetInterruptFF: caller=%p/%d: VM_FF_INTERRUPT %d -> 1\n", 399 404 pDevIns, pDevIns->iInstance, VM_FF_ISSET(pDevIns->Internal.s.pVMGC, VM_FF_INTERRUPT_APIC))); 400 405 VM_FF_SET(pDevIns->Internal.s.pVMGC, VM_FF_INTERRUPT_APIC); 406 #endif 401 407 } 402 408 … … 406 412 { 407 413 PDMDEV_ASSERT_DEVINS(pDevIns); 414 #ifdef VBOX_WITH_SMP_GUESTS 415 LogFlow(("pdmRCApicHlp_ClearInterruptFF: caller=%p/%d: VM_FF_INTERRUPT %d -> 0\n", 416 pDevIns, pDevIns->iInstance, VMCPU_FF_ISSET(pDevIns->Internal.s.pVMGC, cpuid, VM_FF_INTERRUPT_APIC))); 417 VMCPU_FF_CLEAR(pDevIns->Internal.s.pVMGC, cpuid, VM_FF_INTERRUPT_APIC); 418 #else 408 419 LogFlow(("pdmRCApicHlp_ClearInterruptFF: caller=%p/%d: VM_FF_INTERRUPT %d -> 0\n", 409 420 pDevIns, pDevIns->iInstance, VM_FF_ISSET(pDevIns->Internal.s.pVMGC, VM_FF_INTERRUPT_APIC))); 410 421 VM_FF_CLEAR(pDevIns->Internal.s.pVMGC, VM_FF_INTERRUPT_APIC); 422 #endif 411 423 } 412 424 -
trunk/src/VBox/VMM/VMMR0/PDMR0Device.cpp
r12667 r12669 395 395 396 396 397 398 397 /** @copydoc PDMAPICHLPR0::pfnSetInterruptFF */ 399 398 static DECLCALLBACK(void) pdmR0ApicHlp_SetInterruptFF(PPDMDEVINS pDevIns, VMCPUID cpuid) 400 399 { 401 400 PDMDEV_ASSERT_DEVINS(pDevIns); 401 402 #ifdef VBOX_WITH_SMP_GUESTS 403 LogFlow(("pdmR0ApicHlp_SetInterruptFF: caller=%p/%d: VM_FF_INTERRUPT %d -> 1\n", 404 pDevIns, pDevIns->iInstance, VMCPU_FF_ISSET(pDevIns->Internal.s.pVMHC, cpuid, VM_FF_INTERRUPT_APIC))); 405 VMCPU_FF_SET(pDevIns->Internal.s.pVMHC, cpuid, VM_FF_INTERRUPT_APIC); 406 #else 402 407 LogFlow(("pdmR0ApicHlp_SetInterruptFF: caller=%p/%d: VM_FF_INTERRUPT %d -> 1\n", 403 408 pDevIns, pDevIns->iInstance, VM_FF_ISSET(pDevIns->Internal.s.pVMHC, VM_FF_INTERRUPT_APIC))); 404 409 VM_FF_SET(pDevIns->Internal.s.pVMHC, VM_FF_INTERRUPT_APIC); 410 #endif 405 411 } 406 412 … … 410 416 { 411 417 PDMDEV_ASSERT_DEVINS(pDevIns); 418 419 #ifdef VBOX_WITH_SMP_GUESTS 420 LogFlow(("pdmR0ApicHlp_ClearInterruptFF: caller=%p/%d: VM_FF_INTERRUPT %d -> 0\n", 421 pDevIns, pDevIns->iInstance, VMCPU_FF_ISSET(pDevIns->Internal.s.pVMHC, cpuid, VM_FF_INTERRUPT_APIC))); 422 VMCPU_FF_CLEAR(pDevIns->Internal.s.pVMHC, cpuid, VM_FF_INTERRUPT_APIC); 423 #else 412 424 LogFlow(("pdmR0ApicHlp_ClearInterruptFF: caller=%p/%d: VM_FF_INTERRUPT %d -> 0\n", 413 425 pDevIns, pDevIns->iInstance, VM_FF_ISSET(pDevIns->Internal.s.pVMHC, VM_FF_INTERRUPT_APIC))); 414 426 VM_FF_CLEAR(pDevIns->Internal.s.pVMHC, VM_FF_INTERRUPT_APIC); 427 #endif 415 428 } 416 429
Note:
See TracChangeset
for help on using the changeset viewer.