VirtualBox

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

    r26829 r26847  
    331331    /** @todo check if there is a more appropriate API somewhere.. */
    332332
    333     /** @todo */
    334     if (    uAlignment != 0
    335         &&  uAlignment != PAGE_SIZE)
     333    /** @todo alignment */
     334    if (uAlignment != PAGE_SIZE)
    336335        return VERR_NOT_SUPPORTED;
    337336
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