Home |
RTTarget-32 Programming Manual System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) Advanced Configuration and Power Interface (ACPI) Tables Function RTVmfExtendHeap |
Function RTVmfExtendHeapFunction RTVmfExtendHeap can add memory to the heap at run-time. RTVmfExtendHeap allows a program built with the same hardware configuration to use more heap memory if it finds more RAM available to the VM than declared in the configuration files: int RTVmfExtendHeap(void); If the function succeeds, the number of pages (not bytes) added to the heap is returned. For error return codes, see function RTExtendHeap which is used internally by this function. In general, RTVmfExtendHeap can only be called within an Init function before any heap allocation functions have been called to avoid error code RT_MAP_HEAP_TOP_USED. Function RTVmfOutCharDebugConsole
|