- Timestamp:
- Jun 24, 2009 6:26:25 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMDevMiscHlp.cpp
r20876 r20902 158 158 switch (enmType) 159 159 { 160 case PDMAPICIRQ_HARDWARE: 161 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_APIC); 162 break; 163 case PDMAPICIRQ_NMI: 164 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_NMI); 165 break; 166 case PDMAPICIRQ_SMI: 167 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_SMI); 168 break; 169 case PDMAPICIRQ_INVALID: 170 case PDMAPICIRQ_32BIT_HACK: 171 AssertFailed(); 172 break; 160 case PDMAPICIRQ_HARDWARE: 161 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_APIC); 162 break; 163 case PDMAPICIRQ_NMI: 164 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_NMI); 165 break; 166 case PDMAPICIRQ_SMI: 167 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_SMI); 168 break; 169 default: 170 AssertMsgFailed(("enmType=%d\n", enmType)); 171 break; 173 172 } 174 173 REMR3NotifyInterruptSet(pVM, pVCpu); -
trunk/src/VBox/VMM/VMMGC/PDMGCDevice.cpp
r20876 r20902 424 424 switch (enmType) 425 425 { 426 case PDMAPICIRQ_HARDWARE: 427 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_APIC); 428 break; 429 case PDMAPICIRQ_NMI: 430 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_NMI); 431 break; 432 case PDMAPICIRQ_SMI: 433 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_SMI); 434 break; 435 case PDMAPICIRQ_INVALID: 436 case PDMAPICIRQ_32BIT_HACK: 437 AssertFailed(); 438 break; 426 case PDMAPICIRQ_HARDWARE: 427 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_APIC); 428 break; 429 case PDMAPICIRQ_NMI: 430 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_NMI); 431 break; 432 case PDMAPICIRQ_SMI: 433 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_SMI); 434 break; 435 default: 436 AssertMsgFailed(("enmType=%d\n", enmType)); 437 break; 439 438 } 440 439 } -
trunk/src/VBox/VMM/VMMR0/PDMR0Device.cpp
r20876 r20902 440 440 switch (enmType) 441 441 { 442 case PDMAPICIRQ_HARDWARE: 443 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_APIC); 444 break; 445 case PDMAPICIRQ_NMI: 446 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_NMI); 447 break; 448 case PDMAPICIRQ_SMI: 449 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_SMI); 450 break; 451 case PDMAPICIRQ_INVALID: 452 case PDMAPICIRQ_32BIT_HACK: 453 AssertFailed(); 454 break; 442 case PDMAPICIRQ_HARDWARE: 443 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_APIC); 444 break; 445 case PDMAPICIRQ_NMI: 446 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_NMI); 447 break; 448 case PDMAPICIRQ_SMI: 449 VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_SMI); 450 break; 451 default: 452 AssertMsgFailed(("enmType=%d\n", enmType)); 453 break; 455 454 } 456 455 … … 458 457 if (VMMGetCpuId(pVM) != idCpu) 459 458 { 460 switch (VMCPU_GET_STATE(pVCpu))459 switch (VMCPU_GET_STATE(pVCpu)) 461 460 { 462 461 case VMCPUSTATE_STARTED_EXEC:
Note:
See TracChangeset
for help on using the changeset viewer.