VirtualBox

Ignore:
Timestamp:
Aug 14, 2007 1:29:43 AM (17 years ago)
Author:
vboxsync
Message:

Use size_t for the page index. Added API for querying the ring-3 address.

File:
1 edited

Legend:

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

    r4071 r4135  
    9999    /** The memory address.
    100100     * What this really is varies with the type.
    101      * For PAGE, CONT, LOW, RES_VIRT, LOCK/R0 and MAP/R0 it's the ring-0 mapping.
    102      * For LOCK/R3 and MAP/R3 it is the ring-3 mapping.
     101     * For PAGE, CONT, LOW, RES_VIRT/R0, LOCK/R0 and MAP/R0 it's the ring-0 mapping.
     102     * For LOCK/R3, RES_VIRT/R3 and MAP/R3 it is the ring-3 mapping.
    103103     * For PHYS this might actually be NULL if there isn't any mapping.
    104104     */
     
    352352 * @param   iPage           The page number within the object (valid).
    353353 */
    354 RTHCPHYS rtR0MemObjNativeGetPagePhysAddr(PRTR0MEMOBJINTERNAL pMem, unsigned iPage);
     354RTHCPHYS rtR0MemObjNativeGetPagePhysAddr(PRTR0MEMOBJINTERNAL pMem, size_t iPage);
    355355
    356356PRTR0MEMOBJINTERNAL rtR0MemObjNew(size_t cbSelf, RTR0MEMOBJTYPE enmType, void *pv, size_t cb);
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