VirtualBox

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


Ignore:
Timestamp:
Feb 26, 2010 1:19:14 PM (15 years ago)
Author:
vboxsync
Message:

Don't pass uAlignment=0 to rtR0MemObjNativeAllocPhys, resolve the alias like is done for the other APIs.

File:
1 edited

Legend:

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

    r26433 r26847  
    354354
    355355/**
    356  * Allocates contiguous page aligned physical memory without (necessarily) any kernel mapping.
     356 * Allocates contiguous page aligned physical memory without (necessarily) any
     357 * kernel mapping.
    357358 *
    358359 * @returns IPRT status code.
     
    362363 *                          NIL_RTHCPHYS if any address is acceptable.
    363364 * @param   uAlignment      The alignment of the reserved memory.
    364  *                          Supported values are 0 (alias for PAGE_SIZE), PAGE_SIZE, _2M, _4M and _1G.
     365 *                          Supported values are PAGE_SIZE, _2M, _4M and _1G.
    365366 */
    366367int rtR0MemObjNativeAllocPhys(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, RTHCPHYS PhysHighest, size_t uAlignment);
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