VirtualBox

Ignore:
Timestamp:
Oct 15, 2008 10:46:08 PM (16 years ago)
Author:
vboxsync
Message:

Created assert-r0drv-linux.c (finally).

File:
1 edited

Legend:

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

    r13312 r13314  
    4949/** The last assert message, 2nd part. */
    5050RTDATADECL(char)                    g_szRTAssertMsg2[2048];
     51/** The last assert message, expression. */
     52RTDATADECL(const char * volatile)   g_pszRTAssertExpr;
    5153/** The last assert message, file name. */
    52 RTDATADECL(const char *) volatile   g_pszRTAssertFile;
     54RTDATADECL(const char * volatile)   g_pszRTAssertFile;
    5355/** The last assert message, line number. */
    54 RTDATADECL(uint32_t) volatile       g_u32RTAssertLine;
     56RTDATADECL(uint32_t volatile)       g_u32RTAssertLine;
    5557/** The last assert message, function name. */
    56 RTDATADECL(const char *) volatile   g_pszRTAssertFunction;
     58RTDATADECL(const char *  volatile)  g_pszRTAssertFunction;
    5759
    5860
     
    7678                "Location  : %s(%d) %s\n",
    7779                pszExpr, pszFile, uLine, pszFunction);
     80    ASMAtomicUoWritePtr((void * volatile *)&g_pszRTAssertExpr, (void *)pszExpr);
    7881    ASMAtomicUoWritePtr((void * volatile *)&g_pszRTAssertFile, (void *)pszFile);
    7982    ASMAtomicUoWritePtr((void * volatile *)&g_pszRTAssertFunction, (void *)pszFunction);
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