VirtualBox

Ignore:
Timestamp:
Feb 26, 2010 1:19:14 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58125
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/r0drv/linux/memobj-r0drv-linux.c

    r26430 r26847  
    702702int rtR0MemObjNativeAllocPhys(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, RTHCPHYS PhysHighest, size_t uAlignment)
    703703{
    704     /* @todo */
    705     if (    uAlignment != 0
    706         &&  uAlignment != PAGE_SIZE)
     704    /** @todo alignment */
     705    if (uAlignment != PAGE_SIZE)
    707706        return VERR_NOT_SUPPORTED;
    708707
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