Go to the documentation of this file.
18 #ifndef __LIBARCH_MEMORYMAP_H
19 #define __LIBARCH_MEMORYMAP_H
31 #define MEMORYMAP_MAX_REGIONS 8
#define MEMORYMAP_MAX_REGIONS
@ UserShare
< User shared dynamic memory mappings
@ UserData
< User program data from libexec, e.g.
Memory::Range range(Region region) const
Get memory range for the given region.
Describes virtual memory map layout.
@ UserPrivate
< User private dynamic memory mappings
@ KernelPrivate
< Kernel dynamic memory mappings
@ UserArgs
< Used for copying program arguments and file descriptors
void setRange(Region region, Memory::Range range)
Set memory range for the given region.
@ KernelData
< Kernel program data from libexec, e.g.
Memory::Range m_regions[MEMORYMAP_MAX_REGIONS]
Memory ranges.