|
ArvernOS
|
Data Structures | |
| struct | multiboot_tag_t |
| struct | multiboot_info_t |
| struct | multiboot_tag_string_t |
| struct | multiboot_tag_module_t |
| struct | multiboot_mmap_entry_t |
| struct | multiboot_tag_mmap_t |
| struct | multiboot_elf_sections_entry_t |
| struct | multiboot_tag_elf_sections_t |
| struct | multiboot_color_t |
| struct | multiboot_tag_framebuffer_common_t |
| struct | multiboot_tag_framebuffer_t |
Functions | |
| void | multiboot_init (multiboot_info_t *mbi) |
| multiboot_tag_framebuffer_t * | multiboot_get_framebuffer () |
| void | multiboot_get_boot_info (boot_info_t *info) |
| multiboot_info_t * | multiboot_get_info () |
| multiboot_tag_mmap_t * | multiboot_get_mmap () |
| void * | multiboot_find (uint16_t type) |
This module manages the Multiboot 2 boot information, which is handed over by the bootloader (GRUB) when the kernel is loaded using the Multiboot 2 header (see asm/multiboot_header.asm).
| void * multiboot_find | ( | uint16_t | type | ) |
Finds and returns a pointer to a specific "tag" in the multiboot information. multiboot_init() should be called first.
| type | the type of the tag to find |
| void multiboot_get_boot_info | ( | boot_info_t * | info | ) |
Fills the boot information from the multiboot information.
| info | the boot information to fill |
| multiboot_tag_framebuffer_t * multiboot_get_framebuffer | ( | ) |
Returns the linear framebuffer tag.
| multiboot_info_t * multiboot_get_info | ( | ) |
Returns the multiboot information structure.
| multiboot_tag_mmap_t * multiboot_get_mmap | ( | ) |
Returns the memory map tag.
| void multiboot_init | ( | multiboot_info_t * | mbi | ) |
Initializes the multiboot module with the multiboot information structure.
| mbi | the multiboot information structure |