VirtualBox

Changeset 24129 in vbox


Ignore:
Timestamp:
Oct 28, 2009 10:34:07 AM (15 years ago)
Author:
vboxsync
Message:

apicLocalInterrupt: avoid log flooding (we won't actually panic due to void returns up the chain).

File:
1 edited

Legend:

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

    r24128 r24129  
    10241024                /** @todo implement APIC_DM_INIT? */
    10251025            default:
    1026                 AssertLogRelMsgFailedReturn(("delivery type %d not implemented. u8Pin=%d u8Level=%d", u8Delivery, u8Pin, u8Level),
    1027                                             VERR_INTERNAL_ERROR_4);
     1026            {
     1027                static unsigned s_c = 0;
     1028                if (s_c++ < 100)
     1029                    AssertLogRelMsgFailedReturn(("delivery type %d not implemented. u8Pin=%d u8Level=%d", u8Delivery, u8Pin, u8Level),
     1030                                                VERR_INTERNAL_ERROR_4);
     1031            }
    10281032        }
    10291033        LogFlow(("apicLocalInterrupt: setting local interrupt type %d\n", enmType));
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