VirtualBox

Changeset 78120 in vbox for trunk/src/VBox/Runtime/include


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/include/internal/memobj.h

    r76585 r78120  
    447447 * @param   fProt           Combination of RTMEM_PROT_* flags (except RTMEM_PROT_NONE).
    448448 * @param   R0Process       The process to map the memory into.
    449  */
    450 DECLHIDDEN(int) rtR0MemObjNativeMapUser(PPRTR0MEMOBJINTERNAL ppMem, PRTR0MEMOBJINTERNAL pMemToMap, RTR3PTR R3PtrFixed, size_t uAlignment, unsigned fProt, RTR0PROCESS R0Process);
     449 * @param   offSub          Where in the object to start mapping. If non-zero
     450 *                          the value must be page aligned and cbSub must be
     451 *                          non-zero as well.
     452 * @param   cbSub           The size of the part of the object to be mapped. If
     453 *                          zero the entire object is mapped. The value must be
     454 *                          page aligned.
     455 */
     456DECLHIDDEN(int) rtR0MemObjNativeMapUser(PPRTR0MEMOBJINTERNAL ppMem, PRTR0MEMOBJINTERNAL pMemToMap, RTR3PTR R3PtrFixed,
     457                                        size_t uAlignment, unsigned fProt, RTR0PROCESS R0Process, size_t offSub, size_t cbSub);
    451458
    452459/**
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