Class Memory
Memory Subsystem
class Memory
;
This class implements the API
Methods
Name | Description |
---|---|
addMemHandler
(name, pri, usercode, userdata)
|
AddMemHandler -- add a MemHandler to system list |
addMemHeader
(size, attributes, pri, membase, name)
|
addMemHeader -- Add system memory to public memory lists |
allocAbs
(byteSize, location, flags)
|
allocAbs -- Allocate absolute memory |
allocAlign
(byteSize, alignment, flags)
|
allocAlign -- Allocate aligned memory |
allocEntry
(entry)
|
AllocEntry -- Alloc memory with MemEntries structure |
allocMem
(byteSize, requirements)
|
AllocMem -- Allocate memory |
allocVec
(byteSize, requirements)
|
allocVec -- Allocate vectored memory. |
availMem
(requirements)
|
AvailMem -- Get number of free bytes for given attributes |
calculateMemListSize
(entries)
|
CalculateMemListSize -- Calculate the required size of a MemEntries |
callMemHandlers
(byteSize, alignment, flags)
|
CallMemHandlers -- Call MemHandlers to free memory. |
createMemEntries
(entries)
|
CreateMemList -- Create a MemEntries with given number of Entries. |
deleteMemEntries
(memList)
|
DeleteMemList -- Free a MemEntries previously allocated with CreateMemList |
freeEntry
(entry)
|
FreeEntry -- Free memory from MemEntries |
freeMem
(memoryBlock, byteSize)
|
freeMem -- Free byteSize byte sof memory at memoryBlock. |
freeVec
(memoryBlock)
|
freeVec -- Free vectored memory |
remMemHandler
(memHandler)
|
RemMemHandler -- remove a MemHandler from system list |
remMemHeader
(memheader)
|
remMemHeader -- Remove a memory range from system management |
systemMemHandler
(memory, mmh, mhd)
|
SystemMemHandler -- Internal System MemHandler. |
typeOfMem
(address)
|
TypeOfMem -- Query attributes of memory address |
Inner structs
Name | Description |
---|---|
MemEntries
|
MemEntries |