VirtualBox

Ignore:
Timestamp:
Feb 11, 2010 2:23:01 PM (15 years ago)
Author:
vboxsync
Message:

Introducing RTR0MemObjAllocPhysEx

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c

    r23611 r26430  
    700700
    701701
    702 int rtR0MemObjNativeAllocPhys(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, RTHCPHYS PhysHighest)
    703 {
     702int rtR0MemObjNativeAllocPhys(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, RTHCPHYS PhysHighest, size_t uAlignment)
     703{
     704    /* @todo */
     705    if (    uAlignment != 0
     706        &&  uAlignment != PAGE_SIZE)
     707        return VERR_NOT_SUPPORTED;
     708
    704709    return rtR0MemObjLinuxAllocPhysSub(ppMem, RTR0MEMOBJTYPE_PHYS, cb, PhysHighest);
    705710}
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