VirtualBox

Changeset 91480 in vbox for trunk/src/VBox/Runtime/include


Ignore:
Timestamp:
Sep 29, 2021 11:52:11 PM (3 years ago)
Author:
vboxsync
Message:

IPRT/memobj: Passing pszTag around...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/memobj.h

    r91479 r91480  
    407407 * @param   cb              The size of the object in bytes, page aligned.
    408408 * @param   uCachePolicy    One of the RTMEM_CACHE_XXX modes.
    409  */
    410 DECLHIDDEN(int) rtR0MemObjNativeEnterPhys(PPRTR0MEMOBJINTERNAL ppMem, RTHCPHYS Phys, size_t cb, uint32_t uCachePolicy);
     409 * @param   pszTag          Allocation tag used for statistics and such.
     410 */
     411DECLHIDDEN(int) rtR0MemObjNativeEnterPhys(PPRTR0MEMOBJINTERNAL ppMem, RTHCPHYS Phys, size_t cb, uint32_t uCachePolicy,
     412                                          const char *pszTag);
    411413
    412414/**
     
    419421 * @param   cb              The number of bytes to reserve, page aligned.
    420422 * @param   uAlignment      The alignment of the reserved memory; PAGE_SIZE, _2M or _4M.
    421  */
    422 DECLHIDDEN(int) rtR0MemObjNativeReserveKernel(PPRTR0MEMOBJINTERNAL ppMem, void *pvFixed, size_t cb, size_t uAlignment);
     423 * @param   pszTag          Allocation tag used for statistics and such.
     424 */
     425DECLHIDDEN(int) rtR0MemObjNativeReserveKernel(PPRTR0MEMOBJINTERNAL ppMem, void *pvFixed, size_t cb, size_t uAlignment,
     426                                              const char *pszTag);
    423427
    424428/**
     
    431435 * @param   uAlignment      The alignment of the reserved memory; PAGE_SIZE, _2M or _4M.
    432436 * @param   R0Process       The process to reserve the memory in.
    433  */
    434 DECLHIDDEN(int) rtR0MemObjNativeReserveUser(PPRTR0MEMOBJINTERNAL ppMem, RTR3PTR R3PtrFixed, size_t cb, size_t uAlignment, RTR0PROCESS R0Process);
     437 * @param   pszTag          Allocation tag used for statistics and such.
     438 */
     439DECLHIDDEN(int) rtR0MemObjNativeReserveUser(PPRTR0MEMOBJINTERNAL ppMem, RTR3PTR R3PtrFixed, size_t cb, size_t uAlignment,
     440                                            RTR0PROCESS R0Process, const char *pszTag);
    435441
    436442/**
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