Changeset 20866 in vbox for trunk/include
- Timestamp:
- Jun 23, 2009 7:33:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/sup.h
r20864 r20866 701 701 * Use SUPR3PageFreeEx() to free memory allocated with this function. 702 702 * 703 * This SUPR3PageAllocEx and SUPR3PageFreeEx replaces SUPR3PageAllocLockedEx,704 * SUPR3PageFreeLocked, SUPR3PageAlloc, and SUPR3PageFree.705 *706 703 * @returns VBox status code. 707 704 * @param cPages The number of pages to allocate. … … 759 756 */ 760 757 SUPR3DECL(int) SUPR3PageFreeEx(void *pvPages, size_t cPages); 761 762 /**763 * Allocate non-zeroed locked pages.764 *765 * @returns VBox status code.766 * @param cPages Number of pages to allocate.767 * @param ppvPages Where to store the base pointer to the allocated pages.768 * @param paPages Where to store the physical page addresses returned.769 * On entry this will point to an array of with cbMemory >> PAGE_SHIFT entries.770 * NULL is allowed.771 * @todo remove this.772 */773 SUPR3DECL(int) SUPR3PageAllocLockedEx(size_t cPages, void **ppvPages, PSUPPAGE paPages);774 775 /**776 * Frees locked pages allocated with SUPPageAllocLockedEx().777 *778 * @returns VBox status.779 * @param pvPages Pointer returned by SUPR3PageAllocLockedEx().780 * @param cPages Number of pages that was allocated.781 * @todo remove this.782 */783 SUPR3DECL(int) SUPR3PageFreeLocked(void *pvPages, size_t cPages);784 758 785 759 /**
Note:
See TracChangeset
for help on using the changeset viewer.