VirtualBox

Changeset 4217 in vbox


Ignore:
Timestamp:
Aug 18, 2007 11:37:04 PM (17 years ago)
Author:
vboxsync
Message:

Updated the AllocNC and ReserveKernel docs.

File:
1 edited

Legend:

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

    r4169 r4217  
    167167 * Allocates non-contiguous page aligned physical memory without (necessarily) any kernel mapping.
    168168 *
    169  * @returns IPRT status code.
     169 * This API is for allocating huge amounts of pages and will return
     170 * VERR_NOT_SUPPORTED if this cannot be implemented in a satisfactory
     171 * manner.
     172 *
     173 * @returns IPRT status code.
     174 * @retval  VERR_NOT_SUPPORTED if it's not possible to allocated unmapped
     175 *          physical memory on this platform. The caller should expect
     176 *          this error and have a fallback strategy for it.
    170177 * @param   pMemObj         Where to store the ring-0 memory object handle.
    171178 * @param   cb              Number of bytes to allocate. This is rounded up to nearest page.
     
    191198 * Reserves kernel virtual address space.
    192199 *
     200 * If this function fails with VERR_NOT_SUPPORTED, the idea is that you
     201 * can use RTR0MemObjEnterPhys() + RTR0MemObjMapKernel() as a fallback if
     202 * you have a safe physical address range to make use of...
     203 *
    193204 * @returns IPRT status code.
    194205 * @param   pMemObj         Where to store the ring-0 memory object handle.
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