VirtualBox

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/src/VBox/Runtime/r0drv/os2/memobj-r0drv-os2.cpp

    r23610 r26430  
    195195
    196196
    197 int rtR0MemObjNativeAllocPhys(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, RTHCPHYS PhysHighest)
     197int rtR0MemObjNativeAllocPhys(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, RTHCPHYS PhysHighest, size_t uAlignment)
    198198{
    199199    AssertMsgReturn(PhysHighest >= 16 *_1M, ("PhysHigest=%RHp\n", PhysHighest), VERR_NOT_IMPLEMENTED);
     200
     201    /** @todo */
     202    if (    uAlignment != 0
     203        &&  uAlignment != PAGE_SIZE)
     204        return VERR_NOT_SUPPORTED;
    200205
    201206    /* create the object. */
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