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

    r77730 r78120  
    15301530
    15311531
    1532 DECLHIDDEN(int) rtR0MemObjNativeMapUser(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, RTR3PTR R3PtrFixed,
    1533                                         size_t uAlignment, unsigned fProt, RTR0PROCESS R0Process)
     1532DECLHIDDEN(int) rtR0MemObjNativeMapUser(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, RTR3PTR R3PtrFixed, size_t uAlignment,
     1533                                        unsigned fProt, RTR0PROCESS R0Process, size_t offSub, size_t cbSub)
    15341534{
    15351535    struct task_struct *pTask        = rtR0ProcessToLinuxTask(R0Process);
     
    15501550    if (uAlignment > PAGE_SIZE)
    15511551        return VERR_NOT_SUPPORTED;
     1552    AssertMsgReturn(!offSub && !cbSub, ("%#zx %#zx\n", offSub, cbSub), VERR_NOT_SUPPORTED); /** @todo implement sub maps */
    15521553
    15531554#ifdef VBOX_USE_PAE_HACK
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