Module memory

Source
Expand description

Address space allocator for VTL2 memory used by the bootshim.

Structsยง

AddressRange ๐Ÿ”’
AddressSpaceManager
AddressSpaceManagerBuilder
A builder used to initialize an AddressSpaceManager.
AllocatedRange

Enumsยง

AddressUsage ๐Ÿ”’
AllocationPolicy
AllocationType
Error
ReservedMemoryType

Constantsยง

MAX_ADDRESS_RANGES ๐Ÿ”’
Maximum number of ranges in the address space manager. For simplicity, make it twice the memory and reserved ranges.
MAX_MEMORY_RANGES ๐Ÿ”’
MAX_RESERVED_MEM_RANGES
The maximum number of reserved memory ranges that we might use. See ReservedMemoryType definition for details.
PAGE_SIZE_4K ๐Ÿ”’