VirtualBox

Ignore:
Timestamp:
Jan 27, 2007 10:28:29 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
17963
Message:

Added a process specifier to the APIs dealing with user addresses.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/memobj.h

    r385 r392  
    264264 * @param   pv              User virtual address, page aligned.
    265265 * @param   cb              Number of bytes to lock, page aligned.
    266  */
    267 int rtR0MemObjNativeLockUser(PPRTR0MEMOBJINTERNAL ppMem, void *pv, size_t cb);
     266 * @param   R0Process       The process to lock pages in.
     267 */
     268int rtR0MemObjNativeLockUser(PPRTR0MEMOBJINTERNAL ppMem, void *pv, size_t cb, RTR0PROCESS R0Process);
    268269
    269270/**
     
    317318 * @param   cb              The number of bytes to reserve, page aligned.
    318319 * @param   uAlignment      The alignment of the reserved memory; PAGE_SIZE, _2M or _4M.
    319  */
    320 int rtR0MemObjNativeReserveUser(PPRTR0MEMOBJINTERNAL ppMem, void *pvFixed, size_t cb, size_t uAlignment);
     320 * @param   R0Process       The process to reserve the memory in.
     321 */
     322int rtR0MemObjNativeReserveUser(PPRTR0MEMOBJINTERNAL ppMem, void *pvFixed, size_t cb, size_t uAlignment, RTR0PROCESS R0Process);
    321323
    322324/**
     
    341343 * @param   uAlignment      The alignment of the reserved memory; PAGE_SIZE, _2M or _4M.
    342344 * @param   fProt           Combination of RTMEM_PROT_* flags (except RTMEM_PROT_NONE).
    343  */
    344 int rtR0MemObjNativeMapUser(PPRTR0MEMOBJINTERNAL ppMem, PRTR0MEMOBJINTERNAL pMemToMap, void *pvFixed, size_t uAlignment, unsigned fProt);
     345 * @param   R0Process       The process to map the memory into.
     346 */
     347int rtR0MemObjNativeMapUser(PPRTR0MEMOBJINTERNAL ppMem, PRTR0MEMOBJINTERNAL pMemToMap, void *pvFixed, size_t uAlignment, unsigned fProt, RTR0PROCESS R0Process);
    345348
    346349/**
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