VirtualBox

Changeset 3868 in vbox


Ignore:
Timestamp:
Jul 26, 2007 12:03:32 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
23230
Message:

More assertions

Location:
trunk/src/VBox/Additions/common/VBoxGuestLib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • 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    }
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