Changeset 27254 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Mar 10, 2010 3:03:11 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 58644
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMDevHlp.cpp
r26939 r27254 1306 1306 1307 1307 PVM pVM = pDevIns->Internal.s.pVMR3; 1308 PDMIsaSetIrq(pVM, iIrq, iLevel , true); /* (The API takes the lock.) */1308 PDMIsaSetIrq(pVM, iIrq, iLevel); /* (The API takes the lock.) */ 1309 1309 1310 1310 LogFlow(("pdmR3DevHlp_ISASetIrq: caller='%s'/%d: returns void\n", pDevIns->pReg->szName, pDevIns->iInstance)); … … 3167 3167 { 3168 3168 case PDMDEVHLPTASKOP_ISA_SET_IRQ: 3169 PDMIsaSetIrq(pVM, pTask->u.SetIRQ.iIrq, pTask->u.SetIRQ.iLevel , true /* ISA source */);3169 PDMIsaSetIrq(pVM, pTask->u.SetIRQ.iIrq, pTask->u.SetIRQ.iLevel); 3170 3170 break; 3171 3171 -
trunk/src/VBox/VMM/PDMDevMiscHlp.cpp
r27127 r27254 459 459 PDMDEV_ASSERT_DEVINS(pDevIns); 460 460 Log4(("pdmR3PciHlp_IsaSetIrq: iIrq=%d iLevel=%d\n", iIrq, iLevel)); 461 PDMIsaSetIrq(pDevIns->Internal.s.pVMR3, iIrq, iLevel , /* ISA source */ true);461 PDMIsaSetIrq(pDevIns->Internal.s.pVMR3, iIrq, iLevel); 462 462 } 463 463 … … 598 598 PDMDEV_ASSERT_DEVINS(pDevIns); 599 599 LogFlow(("pdmR3HpetHlp_SetIrq: caller='%s'/%d: iIrq=%d iLevel=%d\n", pDevIns->pReg->szName, pDevIns->iInstance, iIrq, iLevel)); 600 PDMIsaSetIrq(pDevIns->Internal.s.pVMR3, iIrq, iLevel , false /* Non-ISA source */);600 PDMIsaSetIrq(pDevIns->Internal.s.pVMR3, iIrq, iLevel); 601 601 return 0; 602 602 } -
trunk/src/VBox/VMM/VMMAll/PDMAll.cpp
r27123 r27254 100 100 * @param u8Level The new level. 101 101 */ 102 VMMDECL(int) PDMIsaSetIrq(PVM pVM, uint8_t u8Irq, uint8_t u8Level , bool fIsaSource)102 VMMDECL(int) PDMIsaSetIrq(PVM pVM, uint8_t u8Irq, uint8_t u8Level) 103 103 { 104 104 pdmLock(pVM); … … 124 124 * If changing, also update override rules in MADT and MPS. 125 125 */ 126 if (fIsaSource) 127 { 128 /* ISA IRQ0 routed to pin 2, all others ISA sources are identity mapped */ 129 if (u8Irq == 0) 130 u8Irq = 2; 131 } 126 /* ISA IRQ0 routed to pin 2, all others ISA sources are identity mapped */ 127 if (u8Irq == 0) 128 u8Irq = 2; 129 132 130 pVM->pdm.s.IoApic.CTX_SUFF(pfnSetIrq)(pVM->pdm.s.IoApic.CTX_SUFF(pDevIns), u8Irq, u8Level); 133 131 rc = VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.