|
MentOS
0.8.0
The Mentoring Operating System
|
Macros | |
| #define | __DEBUG_HEADER__ "[MODULE]" |
| Change header. | |
| #define | __DEBUG_LEVEL__ LOGLEVEL_NOTICE |
| Set log level. | |
Functions | |
| int | init_modules (multiboot_info_t *header) |
| Ininitialize the modules. More... | |
| int | relocate_modules (void) |
| Relocates modules to virtual mapped low memory, to allow physical unmapping of the first part of the ram. More... | |
| uintptr_t | get_address_after_modules (void) |
| Returns the address where the modules end. More... | |
Variables | |
| void * | _kernel_end |
| Defined in kernel.ld, points at the end of kernel's data segment. | |
| multiboot_module_t | modules [MAX_MODULES] |
| List of modules. | |
| uintptr_t get_address_after_modules | ( | void | ) |
Returns the address where the modules end.
| int init_modules | ( | multiboot_info_t * | header | ) |
Ininitialize the modules.
| header | Multiboot info used to initialize the modules. |
| int relocate_modules | ( | void | ) |
Relocates modules to virtual mapped low memory, to allow physical unmapping of the first part of the ram.