12 #define MAX_MODULES 10
uintptr_t get_address_after_modules(void)
Returns the address where the modules end.
Definition: module.c:71
multiboot_module_t modules[MAX_MODULES]
List of modules.
Definition: module.c:20
int init_modules(multiboot_info_t *header)
Ininitialize the modules.
Definition: module.c:22
#define MAX_MODULES
The maximum number of modules.
Definition: module.h:12
int relocate_modules(void)
Relocates modules to virtual mapped low memory, to allow physical unmapping of the first part of the ...
Definition: module.c:41
Data structures used for multiboot.
Standard integer data-types.
unsigned uintptr_t
Define the unsigned 32-bit pointer.
Definition: stdint.h:36
Multiboot information structure.
Definition: multiboot.h:130
Stores information about a module.
Definition: multiboot.h:101