VirtualBox

Changeset 3868

Show
Ignore:
Timestamp:
07/26/07 14:03:32 (1 year ago)
Author:
vboxsync
Message:

More assertions

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/Additions/common/VBoxGuestLib/GenericRequest.cpp

    r3097 r3868  
    2525#include <iprt/asm.h> 
    2626#include <iprt/string.h> 
     27#include <iprt/assert.h> 
    2728 
    2829DECLVBGL(int) VbglGRAlloc (VMMDevRequestHeader **ppReq, uint32_t cbSize, VMMDevRequestType reqType) 
     
    4344    if (!pReq) 
    4445    { 
    45         dprintf(("VbglGRAlloc: no memory\n")); 
     46        AssertMsgFailed(("VbglGRAlloc: no memory\n")); 
    4647        rc = VERR_NO_MEMORY; 
    4748    } 
  • trunk/src/VBox/Additions/common/VBoxGuestLib/PhysHeap.cpp

    r3839 r3868  
    5252 */ 
    5353 
    54 #define VBGL_PH_ASSERT AssertRelease 
    55 #define VBGL_PH_ASSERTMsg AssertReleaseMsg 
     54#define VBGL_PH_ASSERT      AssertRelease 
     55#define VBGL_PH_ASSERTMsg   AssertReleaseMsg 
    5656 
    5757// #define DUMPHEAP 
  • trunk/src/VBox/Additions/common/VBoxGuestLib/SysHlp.cpp

    r3673 r3868  
    4242    { 
    4343        rc = VERR_NOT_SUPPORTED; 
     44        AssertMsgFailed(("IoAllocateMdl %VGv %x failed!!\n", pv, u32Size)); 
    4445    } 
    4546    else 
     
    5758            IoFreeMdl (pMdl); 
    5859            rc = VERR_INVALID_PARAMETER; 
     60            AssertMsgFailed(("MmProbeAndLockPages %VGv %x failed!!\n", pv, u32Size)); 
    5961        } 
    6062    } 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy