VirtualBox

Changeset 4870 in vbox


Ignore:
Timestamp:
Sep 17, 2007 7:44:08 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
24592
Message:

Log open and close, something isn't going right when we crash...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c

    r4868 r4870  
    3838#include <iprt/spinlock.h>
    3939#include <iprt/process.h>
     40#include <iprt/thread.h>
    4041#include <iprt/initterm.h>
    4142#include <iprt/alloc.h>
     
    390391        *pDev = makedevice(getmajor(*pDev), iOpenInstance);
    391392        dprintf(("VBoxDrvSolarisOpen: returns pDev=%#x pSession=%p pState=%p\n", *pDev, pSession, pState));
     393        OSDBGPRINT(("VBoxDrvSolarisOpen: Dev=%#x pSession=%p pid=%d r0proc=%p thread=%p\n",
     394                    *pDev, pSession, RTProcSelf(), RTR0ProcHandleSelf(), RTThreadNativeSelf() ));
    392395        return 0;
    393396    }
     
    468471        return DDI_SUCCESS;
    469472    }
     473    OSDBGPRINT(("VBoxDrvSolarisClose: Dev=%#x pSession=%p pid=%d r0proc=%p thread=%p\n", Dev, pSession, RTProcSelf(), RTR0ProcHandleSelf(), RTThreadNativeSelf() ));
    470474
    471475#else
     
    519523     */
    520524    supdrvCloseSession(&g_DevExt, pSession);
     525    OSDBGPRINT(("VBoxDrvSolarisClose: returns\n"));
    521526    return DDI_SUCCESS;
    522527}
     
    780785
    781786    szMsg[sizeof(szMsg) - 1] = '\0';
     787#if 1
    782788    uprintf("SUPR0Printf: %s", szMsg);
    783 //    cmn_err(CE_CONT, "VBoxDrv: %s", szMsg);
     789#endif
     790#if 1
     791    cmn_err(CE_CONT, "VBoxDrv: %s", szMsg);
     792#endif
    784793
    785794    return 0;
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