![]() |
L4Re Operating System Framework
Interface and Usage Documentation
|
C Interface for KIP memory descriptors. More...
Data Structures | |
struct | l4_kernel_info_mem_desc_t |
Memory descriptor data structure. More... |
Typedefs | |
typedef struct l4_kernel_info_mem_desc_t | l4_kernel_info_mem_desc_t |
Memory descriptor data structure. |
Enumerations | |
enum | l4_mem_type_t { l4_mem_type_undefined = 0x0 , l4_mem_type_conventional = 0x1 , l4_mem_type_reserved = 0x2 , l4_mem_type_dedicated = 0x3 , l4_mem_type_shared = 0x4 , l4_mem_type_info = 0xd , l4_mem_type_bootloader = 0xe , l4_mem_type_archspecific = 0xf } |
Type of a memory descriptor. More... | |
enum | l4_mem_info_sub_type_t { l4_mem_info_acpi_rsdp = 0 } |
Memory sub types for l4_mem_type_info descriptors. More... | |
enum | l4_mem_archspecific_sub_type_common_t { l4_mem_archspecific_acpi_tables = 3 , l4_mem_archspecific_acpi_nvs = 4 } |
Memory sub types for l4_mem_type_archspecific descriptors. More... |
C Interface for KIP memory descriptors.
This module contains the C functions to access the memory descriptor in the kernel interface page (KIP).
typedef struct l4_kernel_info_mem_desc_t l4_kernel_info_mem_desc_t |
Memory descriptor data structure.
enum l4_mem_type_t |
Type of a memory descriptor.
|
inline |
Get end address of the region described by the memory descriptor.
Definition at line 215 of file memdesc.h.
References L4_NOTHROW.
|
inline |
Get virtual flag of the memory descriptor.
Definition at line 236 of file memdesc.h.
References L4_NOTHROW.
|
inline |
Get start address of the region described by the memory descriptor.
Definition at line 208 of file memdesc.h.
References L4_NOTHROW.
|
inline |
Get sub-type of memory region.
The sub type is defined for architecture specific memory descriptors (see l4_mem_type_archspecific) and has architecture specific meaning.
Definition at line 229 of file memdesc.h.
References L4_NOTHROW.
|
inline |
Get type of the memory region.
Definition at line 222 of file memdesc.h.
References L4_NOTHROW.
|
inline |
Get number of memory descriptors in KIP.
Definition at line 186 of file memdesc.h.
References L4_NOTHROW.
|
inline |
Populate a memory descriptor.
md | Pointer to memory descriptor |
start | Start of region |
end | End of region |
type | Type of region |
virt | 1 if virtual region, 0 if physical region |
sub_type | Sub type. |
Definition at line 193 of file memdesc.h.
References L4_NOTHROW.