VirtualBox

Changeset 35768 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jan 28, 2011 2:52:18 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69730
Message:

BusLogic: assertion to catch cases where the guest tries to send more mailboxes than it allocated space for during init

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevBusLogic.cpp

    r35756 r35768  
    16331633            if ((uVal == BUSLOGICCOMMAND_EXECUTE_MAILBOX_COMMAND) && (pBusLogic->uOperationCode == 0xff))
    16341634            {
     1635                AssertMsg(pBusLogic->cMailboxesReady < pBusLogic->cMailbox,
     1636                          ("Mailbox count exceeded, max is %u\n", pBusLogic->cMailbox));
    16351637                ASMAtomicIncU32(&pBusLogic->cMailboxesReady);
    16361638                if (!ASMAtomicXchgBool(&pBusLogic->fNotificationSend, true))
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