VirtualBox

Changeset 97914 in vbox for trunk/include


Ignore:
Timestamp:
Dec 30, 2022 2:22:18 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155004
Message:

Add/VBoxGuestR0LibPhysHeap.cpp: A bit of cleanup and a testcase based on one of the IPRT heaps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxGuestLib.h

    r97764 r97914  
    508508 *
    509509 * @param   pv      Virtual address of memory block.
    510  * @returns Physical address of the memory block.
     510 * @returns Physical address of the memory block.  Zero is returned if @a pv
     511 *          isn't valid.
    511512 */
    512513DECLR0VBGL(uint32_t) VbglR0PhysHeapGetPhysAddr(void *pv);
     514
     515# ifdef IN_TESTCASE
     516DECLVBGL(size_t)     VbglR0PhysHeapGetFreeSize(void);
     517# endif
    513518
    514519/**
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