VirtualBox

Changeset 2652 in vbox for trunk/src/VBox/Runtime/r0drv/nt


Ignore:
Timestamp:
May 15, 2007 11:48:17 PM (18 years ago)
Author:
vboxsync
Message:

The tag should be easy to spot (IPRT).

Location:
trunk/src/VBox/Runtime/r0drv/nt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/nt/alloc-r0drv-nt.cpp

    r1 r2652  
    3737{
    3838    Assert(cb != sizeof(void *)); /* 99% of pointer sized allocations are wrong. */
    39     PRTMEMHDR pHdr = (PRTMEMHDR)ExAllocatePoolWithTag(NonPagedPool, cb + sizeof(*pHdr), 'iprt');
     39    PRTMEMHDR pHdr = (PRTMEMHDR)ExAllocatePoolWithTag(NonPagedPool, cb + sizeof(*pHdr), IPRT_NT_POOL_TAG);
    4040    if (pHdr)
    4141    {
  • trunk/src/VBox/Runtime/r0drv/nt/the-nt-kernel.h

    r1 r2652  
    7171#endif /* IPRT_TARGET_NT4 */
    7272
     73/** @def IPRT_NT_POOL_TAG
     74 * Tag to use with the NT Pool APIs.
     75 * In memory and in the various windbg tool it appears in the reverse order of
     76 * what it is given as here, so it'll read "IPRT".
     77 */
     78#define IPRT_NT_POOL_TAG    'TRPI'
     79
    7380#endif
    7481
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