VirtualBox

Ignore:
Timestamp:
Dec 17, 2009 2:49:34 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56131
Message:

SUPDrv,++: Made SUPDrv.c platform agnostic and renamed SUPDrvAgnostic.c to SUPDrvSem.c. dprintf and dprintf2 are no more (Log/Log2), while OSDBGPRINT simply calls SUPR0Printf.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/os2/SUPDrv-os2.cpp

    r25278 r25465  
    9191DECLASM(int) VBoxDrvInit(const char *pszArgs)
    9292{
    93     dprintf(("VBoxDrvInit: pszArgs=%s\n", pszArgs));
    94 
    9593    /*
    9694     * Initialize the runtime.
     
    9997    if (RT_SUCCESS(rc))
    10098    {
     99        Log(("VBoxDrvInit: pszArgs=%s\n", pszArgs));
     100
    101101        /*
    102102         * Initialize the device extension.
     
    167167    }
    168168
    169     dprintf(("VBoxDrvOpen: g_DevExt=%p pSession=%p rc=%d pid=%d\n", &g_DevExt, pSession, rc, (int)RTProcSelf()));
     169    Log(("VBoxDrvOpen: g_DevExt=%p pSession=%p rc=%d pid=%d\n", &g_DevExt, pSession, rc, (int)RTProcSelf()));
    170170    return rc;
    171171}
     
    174174DECLASM(int) VBoxDrvClose(uint16_t sfn)
    175175{
    176     dprintf(("VBoxDrvClose: pid=%d sfn=%d\n", (int)RTProcSelf(), sfn));
     176    Log(("VBoxDrvClose: pid=%d sfn=%d\n", (int)RTProcSelf(), sfn));
    177177
    178178    /*
     
    294294    if (RT_LIKELY(iCat == SUP_CTL_CATEGORY))
    295295    {
    296         dprintf(("VBoxDrvIOCtl: pSession=%p iFunction=%#x pvParm=%p pvData=%p *pcbParm=%d *pcbData=%d\n", pSession, iFunction, pvParm, pvData, *pcbParm, *pcbData));
     296        Log(("VBoxDrvIOCtl: pSession=%p iFunction=%#x pvParm=%p pvData=%p *pcbParm=%d *pcbData=%d\n", pSession, iFunction, pvParm, pvData, *pcbParm, *pcbData));
    297297        Assert(pvParm);
    298298        Assert(!pvData);
     
    352352        AssertMsg(!rc2, ("rc2=%d\n", rc2)); NOREF(rc2);
    353353
    354         dprintf2(("VBoxDrvIOCtl: returns %d\n", rc));
     354        Log2(("VBoxDrvIOCtl: returns %d\n", rc));
    355355        return rc;
    356356    }
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