VirtualBox

Changeset 25536 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Dec 21, 2009 11:06:08 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56209
Message:

iprt/assert.h: Added RTAssertMsg2Add[Weak][V] for dumping the lock deadlock chain and stacks. Added the missing internal/assert.h file to the linux and freebsd kernel source trees.

Location:
trunk/src/VBox/Runtime/r0drv
Files:
6 edited

Legend:

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

    r25528 r25536  
    5454
    5555
    56 void rtR0AssertNativeMsg2V(const char *pszFormat, va_list va)
     56void rtR0AssertNativeMsg2V(bool fInitial, const char *pszFormat, va_list va)
    5757{
    5858    char szMsg[256];
     
    6161    szMsg[sizeof(szMsg) - 1] = '\0';
    6262    printf("%s", szMsg);
     63
     64    NOREF(fInitial);
    6365}
    6466
  • trunk/src/VBox/Runtime/r0drv/freebsd/assert-r0drv-freebsd.c

    r25533 r25536  
    5151
    5252
    53 void rtR0AssertNativeMsg2V(const char *pszFormat, va_list va)
     53void rtR0AssertNativeMsg2V(bool fInitial, const char *pszFormat, va_list va)
    5454{
    5555    char szMsg[256];
     
    5858    szMsg[sizeof(szMsg) - 1] = '\0';
    5959    printf("%s", szMsg);
     60
     61    NOREF(fInitial);
    6062}
    6163
  • trunk/src/VBox/Runtime/r0drv/linux/assert-r0drv-linux.c

    r25530 r25536  
    5454
    5555
    56 void rtR0AssertNativeMsg2V(const char *pszFormat, va_list va)
     56void rtR0AssertNativeMsg2V(bool fInitial, const char *pszFormat, va_list va)
    5757{
    5858    char szMsg[256];
     
    6161    szMsg[sizeof(szMsg) - 1] = '\0';
    6262    printk("%s", szMsg);
     63
     64    NOREF(fInitial);
    6365}
    6466
  • trunk/src/VBox/Runtime/r0drv/nt/assert-r0drv-nt.cpp

    r25533 r25536  
    5151
    5252
    53 void rtR0AssertNativeMsg2V(const char *pszFormat, va_list va)
     53void rtR0AssertNativeMsg2V(bool fInitial, const char *pszFormat, va_list va)
    5454{
    5555    char szMsg[256];
     
    5858    szMsg[sizeof(szMsg) - 1] = '\0';
    5959    DbgPrint("%s", szMsg);
     60
     61    NOREF(fInitial);
    6062}
    6163
  • trunk/src/VBox/Runtime/r0drv/os2/assert-r0drv-os2.cpp

    r25533 r25536  
    7575
    7676
    77 void rtR0AssertNativeMsg2V(const char *pszFormat, va_list va)
     77void rtR0AssertNativeMsg2V(bool fInitial, const char *pszFormat, va_list va)
    7878{
    7979#if defined(DEBUG_bird)
     
    8888    cch += RTStrFormatV(rtR0Os2AssertOutputCB, &pch, NULL, NULL, pszFormat, va);
    8989    g_cchRTAssertMsg = cch;
     90
     91    NOREF(fInitial);
    9092}
    9193
  • trunk/src/VBox/Runtime/r0drv/solaris/assert-r0drv-solaris.c

    r25531 r25536  
    5454
    5555
    56 void rtR0AssertNativeMsg2V(const char *pszFormat, va_list va)
     56void rtR0AssertNativeMsg2V(bool fInitial, const char *pszFormat, va_list va)
    5757{
    5858    char szMsg[256];
     
    6161    szMsg[sizeof(szMsg) - 1] = '\0';
    6262    uprintf("%s", szMsg);
     63
     64    NOREF(fInitial);
    6365}
    6466
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette