VirtualBox

Changeset 27254 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Mar 10, 2010 3:03:11 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58644
Message:

HPET: correct interrupts delivery

Location:
trunk/src/VBox/VMM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMDevHlp.cpp

    r26939 r27254  
    13061306
    13071307    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.) */
    13091309
    13101310    LogFlow(("pdmR3DevHlp_ISASetIrq: caller='%s'/%d: returns void\n", pDevIns->pReg->szName, pDevIns->iInstance));
     
    31673167    {
    31683168        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);
    31703170            break;
    31713171
  • trunk/src/VBox/VMM/PDMDevMiscHlp.cpp

    r27127 r27254  
    459459    PDMDEV_ASSERT_DEVINS(pDevIns);
    460460    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);
    462462}
    463463
     
    598598    PDMDEV_ASSERT_DEVINS(pDevIns);
    599599    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);
    601601    return 0;
    602602}
  • trunk/src/VBox/VMM/VMMAll/PDMAll.cpp

    r27123 r27254  
    100100 * @param   u8Level         The new level.
    101101 */
    102 VMMDECL(int) PDMIsaSetIrq(PVM pVM, uint8_t u8Irq, uint8_t u8Level, bool fIsaSource)
     102VMMDECL(int) PDMIsaSetIrq(PVM pVM, uint8_t u8Irq, uint8_t u8Level)
    103103{
    104104    pdmLock(pVM);
     
    124124         * If changing, also update override rules in MADT and MPS.
    125125         */
    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
    132130        pVM->pdm.s.IoApic.CTX_SUFF(pfnSetIrq)(pVM->pdm.s.IoApic.CTX_SUFF(pDevIns), u8Irq, u8Level);
    133131        rc = VINF_SUCCESS;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette