VirtualBox

Changeset 35073 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
Dec 14, 2010 1:14:07 PM (14 years ago)
Author:
vboxsync
Message:

PIC: Converted release assertion to log statement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevPIC.cpp

    r34697 r35073  
    136136    /** Pointer to the PIC RC helpers. */
    137137    PCPDMPICHLPRC           pPicHlpRC;
     138    /** Number of release log entries. Used to prevent flooding. */
     139    uint32_t                cRelLogEntries;
     140    uint32_t                u32AlignmentPadding;
    138141#ifdef VBOX_WITH_STATISTICS
    139142    STAMCOUNTER             StatSetIrqGC;
     
    489492                AssertReleaseMsgFailed(("single mode not supported"));
    490493            if (val & 0x08)
    491                 AssertReleaseMsgFailed(("level sensitive irq not supported"));
     494                if (pThis->cRelLogEntries++ < 64)
     495                    LogRel(("pic_write: Level sensitive IRQ setting ignored.\n"));
    492496        } else if (val & 0x08) {
    493497            if (val & 0x04)
     
    944948    pThis->aPics[0].pDevInsRC = PDMDEVINS_2_RCPTR(pDevIns);
    945949    pThis->aPics[1].pDevInsRC = PDMDEVINS_2_RCPTR(pDevIns);
     950    pThis->cRelLogEntries = 0;
    946951
    947952    /*
Note: See TracChangeset for help on using the changeset viewer.

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