Home |
RTTarget-32 Programming Manual System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) Advanced Configuration and Power Interface (ACPI) Tables Function RTRthExtendHeap Function RTRTHOpenSharedMemPartition Function RTRTHCloseSharedMemPartition Function RTRTHLockSharedMemPartition Function RTRTHUnlockSharedMemPartition |
Function RTRthExtendHeapFunction RTRthExtendHeap can add memory to the heap at run-time. RTRthExtendHeap 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 RTRthExtendHeap(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, RTRthExtendHeap 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 RTRTHOpenSharedMemPartition
|