VirtualBox

Ignore:
Timestamp:
Apr 12, 2019 1:20:50 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
130012
Message:

IPRT: Started adding a RTR0MemObjMapUserEx function that takes offSub and cbSub. bugref:9217

File:
1 edited

Legend:

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

    r76553 r78120  
    478478
    479479int rtR0MemObjNativeMapUser(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, RTR3PTR R3PtrFixed, size_t uAlignment,
    480                             unsigned fProt, RTR0PROCESS R0Process)
     480                            unsigned fProt, RTR0PROCESS R0Process, size_t offSub, size_t cbSub)
    481481{
    482482#if 0
     
    487487    AssertMsgReturn(R3PtrFixed == (RTR3PTR)-1, ("%p\n", R3PtrFixed), VERR_NOT_SUPPORTED);
    488488    if (uAlignment > PAGE_SIZE)
    489     return VERR_NOT_SUPPORTED;
     489        return VERR_NOT_SUPPORTED;
     490    AssertMsgReturn(!offSub && !cbSub, ("%#zx %#zx\n", offSub, cbSub), VERR_NOT_SUPPORTED); /** @todo implement sub maps */
    490491
    491492    int                rc;
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