Allocate many regions of memory
Source position: exec.pas line 1752
function AllocEntry( |
Entry: PMemList |
):PMemList; |
Entry |
|
A MemList structure filled in with MemEntry structures. |
A different MemList filled in with the actual memory allocated in the me_Addr field, and their sizes in me_Length. If enough memory cannot be obtained, then the requirements of the allocation that failed is returned and bit 31 is set.
This function takes a memList structure and allocates enough memory to hold the required memory as well as a MemList structure to keep track of it.
These MemList structures may be linked together in a task control block to keep track of the total memory usage of this task. (See the description of TC_MEMENTRY under RemTask).
|
Remove a task from the system |