Barrelfish
|
Relay header for multiboot structures and kernel-specific function definitions. More...
Macros | |
#define | MBADDR_ASSTRING(vaddr) (char * NTS)TC((uintptr_t)(local_phys_to_mem(vaddr))) |
Functions | |
struct multiboot_modinfo * | multiboot_find_module (const char *basename) |
Return multiboot module by trailing pathname. More... | |
uintptr_t | multiboot_end_addr (struct multiboot_info *mi) |
Return end address of multiboot image. More... | |
Relay header for multiboot structures and kernel-specific function definitions.
#define MBADDR_ASSTRING | ( | vaddr | ) | (char * NTS)TC((uintptr_t)(local_phys_to_mem(vaddr))) |
Convert a 32bit address from the Multiboot header to a native virtual address as a char pointer.
uintptr_t multiboot_end_addr | ( | struct multiboot_info * | mi | ) |
Return end address of multiboot image.
This function is used to compute a safe location to place the boot kernel.
struct multiboot_modinfo* multiboot_find_module | ( | const char * | pathname | ) |
Return multiboot module by trailing pathname.
Returns a pointer to the multiboot module which has a trailing pathname of 'pathname' or NULL if there is none.
pathname | Trailing pathname of module to look for. |