VirtualBox

Changeset 4217

Show
Ignore:
Timestamp:
08/19/07 01:37:04 (1 year ago)
Author:
vboxsync
Message:

Updated the AllocNC and ReserveKernel? docs.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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. 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy