VirtualBox

Ignore:
Timestamp:
Aug 6, 2015 11:27:10 PM (9 years ago)
Author:
vboxsync
Message:

IPRT/r0drv/darwin: More EFLAGS.AC paranoia.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/darwin/assert-r0drv-darwin.cpp

    r56290 r57228  
    4343DECLHIDDEN(void) rtR0AssertNativeMsg1(const char *pszExpr, unsigned uLine, const char *pszFile, const char *pszFunction)
    4444{
     45    IPRT_DARWIN_SAVE_EFL_AC();
    4546    printf("\r\n!!Assertion Failed!!\r\n"
    4647           "Expression: %s\r\n"
    4748           "Location  : %s(%u) %s\r\n",
    4849           pszExpr, pszFile, uLine, pszFunction);
     50    IPRT_DARWIN_RESTORE_EFL_AC();
    4951}
    5052
     
    5254DECLHIDDEN(void) rtR0AssertNativeMsg2V(bool fInitial, const char *pszFormat, va_list va)
    5355{
     56    IPRT_DARWIN_SAVE_EFL_AC();
    5457    char szMsg[256];
    5558
     
    5962
    6063    NOREF(fInitial);
     64    IPRT_DARWIN_RESTORE_EFL_AC();
    6165}
    6266
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