MentOS
0.8.0
The Mentoring Operating System
|
Macros | |
#define | __DEBUG_HEADER__ "[MTBOOT]" |
Change header. | |
#define | __DEBUG_LEVEL__ LOGLEVEL_NOTICE |
Set log level. | |
void dump_multiboot | ( | multiboot_info_t * | mboot_ptr | ) |
Prints as debugging output the info regarding the multiboot.
mboot_ptr | The pointer to the multiboot information. |
multiboot_module_t* first_module | ( | multiboot_info_t * | info | ) |
Finds the first module.
info | The multiboot info from which we extract the information. |
multiboot_memory_map_t* mmap_first_entry | ( | multiboot_info_t * | info | ) |
Returns the first mmap entry.
info | The multiboot info from which we extract the entry. |
multiboot_memory_map_t* mmap_first_entry_of_type | ( | multiboot_info_t * | info, |
uint32_t | type | ||
) |
The first entry of the given type.
info | The multiboot info from which we extract the entry. |
type | The type of entry we are looking for. |
multiboot_memory_map_t* mmap_next_entry | ( | multiboot_info_t * | info, |
multiboot_memory_map_t * | entry | ||
) |
Returns the next mmap entry.
info | The multiboot info from which we extract the entry. |
entry | The current entry. |
multiboot_memory_map_t* mmap_next_entry_of_type | ( | multiboot_info_t * | info, |
multiboot_memory_map_t * | entry, | ||
uint32_t | type | ||
) |
Returns the next mmap entry of the given type.
info | The multiboot info from which we extract the entry. |
entry | The current entry. |
type | The type of entry we are looking for. |
char* mmap_type_name | ( | multiboot_memory_map_t * | entry | ) |
Returns the type of the entry as string.
entry | The current entry. |
multiboot_module_t* next_module | ( | multiboot_info_t * | info, |
multiboot_module_t * | mod | ||
) |
Finds the next module after the one we provide.
info | The multiboot info from which we extract the information. |
mod | The current module. |