VirtualBox

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


Ignore:
Timestamp:
Jul 4, 2023 7:00:26 AM (19 months ago)
Author:
vboxsync
Message:

Runtime/RTR0MemObj*: Add PhysHighest parameter to RTR0MemObjAllocCont to indicate the maximum allowed physical address for an allocation, bugref:10457 [second attempt]

File:
1 edited

Legend:

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

    r100356 r100357  
    361361 * @param   ppMem           Where to store the ring-0 memory object handle.
    362362 * @param   cb              Number of bytes to allocate, page aligned.
     363 * @param   PhysHighest     The highest permitable address (inclusive).
     364 *                          Pass NIL_RTHCPHYS if any address is acceptable.
    363365 * @param   fExecutable     Flag indicating whether it should be permitted to executed code in the memory object.
    364366 * @param   pszTag          Allocation tag used for statistics and such.
    365367 */
    366 DECLHIDDEN(int) rtR0MemObjNativeAllocCont(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, bool fExecutable, const char *pszTag);
     368DECLHIDDEN(int) rtR0MemObjNativeAllocCont(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, RTHCPHYS PhysHighest,
     369                                          bool fExecutable, const char *pszTag);
    367370
    368371/**
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