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/freebsd/memobj-r0drv-freebsd.c

    r23610 r26430  
    327327
    328328
    329 int rtR0MemObjNativeAllocPhys(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, RTHCPHYS PhysHighest)
     329int rtR0MemObjNativeAllocPhys(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, RTHCPHYS PhysHighest, size_t uAlignment)
    330330{
    331331    /** @todo check if there is a more appropriate API somewhere.. */
     332
     333    /** @todo */
     334    if (    uAlignment != 0
     335        &&  uAlignment != PAGE_SIZE)
     336        return VERR_NOT_SUPPORTED;
    332337
    333338    /* 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