Changeset 13314 in vbox for trunk/src/VBox/Runtime/r0drv/darwin/assert-r0drv-darwin.cpp
- Timestamp:
- Oct 15, 2008 10:46:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/darwin/assert-r0drv-darwin.cpp
r13312 r13314 49 49 /** The last assert message, 2nd part. */ 50 50 RTDATADECL(char) g_szRTAssertMsg2[2048]; 51 /** The last assert message, expression. */ 52 RTDATADECL(const char * volatile) g_pszRTAssertExpr; 51 53 /** The last assert message, file name. */ 52 RTDATADECL(const char * ) volatileg_pszRTAssertFile;54 RTDATADECL(const char * volatile) g_pszRTAssertFile; 53 55 /** The last assert message, line number. */ 54 RTDATADECL(uint32_t ) volatileg_u32RTAssertLine;56 RTDATADECL(uint32_t volatile) g_u32RTAssertLine; 55 57 /** The last assert message, function name. */ 56 RTDATADECL(const char * ) volatileg_pszRTAssertFunction;58 RTDATADECL(const char * volatile) g_pszRTAssertFunction; 57 59 58 60 … … 76 78 "Location : %s(%d) %s\n", 77 79 pszExpr, pszFile, uLine, pszFunction); 80 ASMAtomicUoWritePtr((void * volatile *)&g_pszRTAssertExpr, (void *)pszExpr); 78 81 ASMAtomicUoWritePtr((void * volatile *)&g_pszRTAssertFile, (void *)pszFile); 79 82 ASMAtomicUoWritePtr((void * volatile *)&g_pszRTAssertFunction, (void *)pszFunction);
Note:
See TracChangeset
for help on using the changeset viewer.