VirtualBox

Changeset 91739 in vbox


Ignore:
Timestamp:
Oct 14, 2021 7:21:57 PM (3 years ago)
Author:
vboxsync
Message:

DevPIC: Avoid release assertion (see bugref:10109).

File:
1 edited

Legend:

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

    r90436 r91739  
    501501            pPic->init_state = 1;
    502502            pPic->init4 = val & 1;
    503             if (val & 0x02)
    504                 AssertReleaseMsgFailed(("single mode not supported"));
    505             if (val & 0x08)
    506                 if (pThis->cRelLogEntries++ < 64)
    507                     LogRel(("pic_write: Level sensitive IRQ setting ignored.\n"));
     503            if (!(val & 0x0a))
     504            { /* likely */ }
     505            else if (pThis->cRelLogEntries++ < 64)
     506            {
     507                if (val & 0x02)
     508                    LogRel(("PIC: Single mode not supported, ignored.\n"));
     509                if (val & 0x08)
     510                    LogRel(("PIC: Level sensitive IRQ setting ignored.\n"));
     511            }
    508512        }
    509513        else if (val & 0x08)
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