VirtualBox

Changeset 26430 in vbox for trunk/include


Ignore:
Timestamp:
Feb 11, 2010 2:23:01 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57562
Message:

Introducing RTR0MemObjAllocPhysEx

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/memobj.h

    r23610 r26430  
    191191
    192192/**
     193 * Allocates contiguous page aligned physical memory without (necessarily) any kernel mapping.
     194 *
     195 * @returns IPRT status code.
     196 * @param   pMemObj         Where to store the ring-0 memory object handle.
     197 * @param   cb              Number of bytes to allocate. This is rounded up to nearest page.
     198 * @param   PhysHighest     The highest permittable address (inclusive).
     199 *                          Pass NIL_RTHCPHYS if any address is acceptable.
     200 * @param   uAlignment      The alignment of the reserved memory.
     201 *                          Supported values are 0 (alias for PAGE_SIZE), PAGE_SIZE, _2M, _4M and _1G.
     202 */
     203RTR0DECL(int) RTR0MemObjAllocPhysEx(PRTR0MEMOBJ pMemObj, size_t cb, RTHCPHYS PhysHighest, size_t uAlignment);
     204
     205/**
    193206 * Allocates non-contiguous page aligned physical memory without (necessarily) any kernel mapping.
    194207 *
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