Changeset 12684 in vbox for trunk/src/VBox/VMM/PDMDevice.cpp
- Timestamp:
- Sep 24, 2008 12:12:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMDevice.cpp
r12669 r12684 4008 4008 PVM pVM = pDevIns->Internal.s.pVMHC; 4009 4009 LogFlow(("pdmR3PicHlp_SetInterruptFF: caller='%s'/%d: VM_FF_INTERRUPT_PIC %d -> 1\n", 4010 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, VM_FF_ISSET(pVM, VM_FF_INTERRUPT_PIC))); 4011 VM_FF_SET(pVM, VM_FF_INTERRUPT_PIC); 4010 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, VMCPU_FF_ISSET(pVM, 0, VM_FF_INTERRUPT_PIC))); 4011 /* for PIC we always deliver to CPU 0, MP use APIC */ 4012 VMCPU_FF_SET(pVM, 0, VM_FF_INTERRUPT_PIC); 4012 4013 REMR3NotifyInterruptSet(pVM); 4013 4014 VMR3NotifyFF(pVM, true); … … 4020 4021 PDMDEV_ASSERT_DEVINS(pDevIns); 4021 4022 LogFlow(("pdmR3PicHlp_ClearInterruptFF: caller='%s'/%d: VM_FF_INTERRUPT_PIC %d -> 0\n", 4022 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, VM_FF_ISSET(pDevIns->Internal.s.pVMHC, VM_FF_INTERRUPT_PIC))); 4023 VM_FF_CLEAR(pDevIns->Internal.s.pVMHC, VM_FF_INTERRUPT_PIC); 4023 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, VMCPU_FF_ISSET(pDevIns->Internal.s.pVMHC, 0, VM_FF_INTERRUPT_PIC))); 4024 /* for PIC we always deliver to CPU 0, MP use APIC */ 4025 VMCPU_FF_CLEAR(pDevIns->Internal.s.pVMHC, 0, VM_FF_INTERRUPT_PIC); 4024 4026 REMR3NotifyInterruptClear(pDevIns->Internal.s.pVMHC); 4025 4027 } … … 4077 4079 PDMDEV_ASSERT_DEVINS(pDevIns); 4078 4080 PVM pVM = pDevIns->Internal.s.pVMHC; 4079 #ifdef VBOX_WITH_SMP_GUESTS4080 4081 LogFlow(("pdmR3ApicHlp_SetInterruptFF: caller='%s'/%d: VM_FF_INTERRUPT %d -> 1\n", 4081 4082 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, VMCPU_FF_ISSET(pVM, cpuid, VM_FF_INTERRUPT_APIC))); 4082 4083 VMCPU_FF_SET(pVM, cpuid, VM_FF_INTERRUPT_APIC); 4083 #else4084 LogFlow(("pdmR3ApicHlp_SetInterruptFF: caller='%s'/%d: VM_FF_INTERRUPT %d -> 1\n",4085 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, VM_FF_ISSET(pVM, VM_FF_INTERRUPT_APIC)));4086 VM_FF_SET(pVM, VM_FF_INTERRUPT_APIC);4087 #endif4088 4084 REMR3NotifyInterruptSet(pVM); 4089 4085 VMR3NotifyFF(pVM, true); … … 4095 4091 { 4096 4092 PDMDEV_ASSERT_DEVINS(pDevIns); 4097 #ifdef VBOX_WITH_SMP_GUESTS4098 4093 LogFlow(("pdmR3ApicHlp_ClearInterruptFF: caller='%s'/%d: VM_FF_INTERRUPT %d -> 0\n", 4099 4094 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, VMCPU_FF_ISSET(pDevIns->Internal.s.pVMHC, cpuid, VM_FF_INTERRUPT_APIC))); 4100 4095 VMCPU_FF_CLEAR(pDevIns->Internal.s.pVMHC, cpuid, VM_FF_INTERRUPT_APIC); 4101 #else4102 LogFlow(("pdmR3ApicHlp_ClearInterruptFF: caller='%s'/%d: VM_FF_INTERRUPT %d -> 0\n",4103 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, VM_FF_ISSET(pDevIns->Internal.s.pVMHC, VM_FF_INTERRUPT_APIC)));4104 VM_FF_CLEAR(pDevIns->Internal.s.pVMHC, VM_FF_INTERRUPT_APIC);4105 #endif4106 4096 REMR3NotifyInterruptClear(pDevIns->Internal.s.pVMHC); 4107 4097 }
Note:
See TracChangeset
for help on using the changeset viewer.