VirtualBox

Changeset 96941 in vbox for trunk


Ignore:
Timestamp:
Sep 30, 2022 12:08:13 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
153852
Message:

VMM/PDMAll: IRQ logging. bugref:10092

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PDMAll.cpp

    r96407 r96941  
    7474        if (RT_SUCCESS(rc))
    7575        {
    76             if (rc == VINF_SUCCESS)
    77                 VBOXVMM_PDM_IRQ_GET(pVCpu, RT_LOWORD(uTagSrc), RT_HIWORD(uTagSrc), *pu8Interrupt);
    78             return rc;
     76            VBOXVMM_PDM_IRQ_GET(pVCpu, RT_LOWORD(uTagSrc), RT_HIWORD(uTagSrc), *pu8Interrupt);
     77            Log8(("PDMGetInterrupt: irq=%#x tag=%#x (apic)\n", *pu8Interrupt, uTagSrc));
     78            return VINF_SUCCESS;
    7979        }
    8080        /* else if it's masked by TPR/PPR/whatever, go ahead checking the PIC. Such masked
     
    101101            *pu8Interrupt = (uint8_t)i;
    102102            VBOXVMM_PDM_IRQ_GET(pVCpu, RT_LOWORD(uTagSrc), RT_HIWORD(uTagSrc), i);
     103            Log8(("PDMGetInterrupt: irq=%#x tag=%#x (pic)\n", i, uTagSrc));
    103104            return VINF_SUCCESS;
    104105        }
     
    139140            VBOXVMM_PDM_IRQ_HILO(VMMGetCpu(pVM), 0, 0);
    140141    }
     142    Log9(("PDMIsaSetIrq: irq=%#x lvl=%u tag=%#x\n", u8Irq, u8Level, uTagSrc));
    141143
    142144    int rc = VERR_PDM_NO_PIC_INSTANCE;
     
    190192VMM_INT_DECL(int) PDMIoApicSetIrq(PVM pVM, PCIBDF uBusDevFn, uint8_t u8Irq, uint8_t u8Level, uint32_t uTagSrc)
    191193{
     194    Log9(("PDMIoApicSetIrq: irq=%#x lvl=%u tag=%#x src=%#x\n", u8Irq, u8Level, uTagSrc, uBusDevFn));
    192195    if (pVM->pdm.s.IoApic.CTX_SUFF(pDevIns))
    193196    {
     
    253256VMM_INT_DECL(void) PDMIoApicSendMsi(PVMCC pVM, PCIBDF uBusDevFn, PCMSIMSG pMsi, uint32_t uTagSrc)
    254257{
     258    Log9(("PDMIoApicSendMsi: addr=%#RX64 data=%#RX32 tag=%#x src=%#x\n", pMsi->Addr.u64, pMsi->Data.u32, uTagSrc, uBusDevFn));
    255259    PCPDMIOAPIC pIoApic = &pVM->pdm.s.IoApic;
    256260#ifdef IN_RING0
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