add memory to the system free pool
Source position: exec.pas line 1314
procedure AddMemList( |
Size: LongWord; |
Attributes: LongWord; |
Pri: LongInt; |
Base: Pointer; |
const Name: PChar |
); |
Size |
|
the size (in bytes) of the memory area |
Attributes |
|
the attributes word that the memory pool will have |
Pri |
|
the priority for this memory. The higher the priority, the closer to the head of the memory list it will be placed. |
Base |
|
the base of the new memory area |
Name |
|
the name that will be used in the memory header, or nil if no name is to be provided. This name is not copied, so it must remain valid for as long as the memory header is in the system. |
Add a new region of memory to the system free pool. The first few bytes will be used to hold the MemHeader structure. The remainder will be made available to the rest of the world.
|
Allocate memory given certain requirements |