Pip
Architecture-dependent parts of Pip: MAL, IAL and boot
|
Multiboot header file. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | multiboot |
Multiboot header info. More... | |
struct | multiboot_memory_map |
Memory map structure. More... | |
Macros | |
#define | MULTIBOOT_FLAG_MEM 0x001 |
Is there basic upper/lower memory information ? More... | |
#define | MULTIBOOT_FLAG_DEVICE 0x002 |
Is there a boot device set ? More... | |
#define | MULTIBOOT_FLAG_CMDLINE 0x004 |
Is the command-line defined ? More... | |
#define | MULTIBOOT_FLAG_MODS 0x008 |
Are there modules to deal with ? More... | |
#define | MULTIBOOT_FLAG_AOUT 0x010 |
Is there a symbol table loaded ? More... | |
#define | MULTIBOOT_FLAG_ELF 0x020 |
Is there an ELF section header table ? More... | |
#define | MULTIBOOT_FLAG_MMAP 0x040 |
Is there a full memory map ? More... | |
#define | MULTIBOOT_FLAG_CONFIG 0x080 |
Is there a config table ? More... | |
#define | MULTIBOOT_FLAG_LOADER 0x100 |
Is there a boot loader name ? More... | |
#define | MULTIBOOT_FLAG_APM 0x200 |
Is there a APM table ? More... | |
#define | MULTIBOOT_FLAG_VBE 0x400 |
Is there video information ? More... | |
#define | MULTIBOOT_MEMORY_AVAILABLE 1 |
Memory is available. More... | |
#define | MULTIBOOT_MEMORY_RESERVED 2 |
Memory is system-reserved. More... | |
#define | MULTIBOOT_MEMORY_ACPI_RECLAIMABLE 3 |
Memory is reclaimable by the ACPI. More... | |
#define | MULTIBOOT_MEMORY_NVS 4 |
Memory is something (?) More... | |
#define | MULTIBOOT_MEMORY_BADRAM 5 |
No such memory here. More... | |
Typedefs | |
typedef struct multiboot_header | multiboot_header_t |
Multiboot header structure define. More... | |
typedef struct multiboot_memory_map | multiboot_memory_map_t |
Functions | |
struct multiboot | __attribute__ ((packed)) |
Variables | |
uint32_t | flags |
Header flags. More... | |
uint32_t | mem_lower |
Lower memory available. More... | |
uint32_t | mem_upper |
Upper memory available. More... | |
uint32_t | boot_device |
Boot device ID. More... | |
uint32_t | cmdline |
Pointer to the boot command line. More... | |
uint32_t | mods_count |
Amount of modules loaded. More... | |
uint32_t | mods_addr |
Address to the first module structure. More... | |
uint32_t | num |
This is reserved by symbol table & ELF headers. More... | |
uint32_t | size |
This is reserved by symbol table & ELF headers. More... | |
uint32_t | addr |
This is reserved by symbol table & ELF headers. More... | |
uint32_t | shndx |
This is reserved by symbol table & ELF headers. More... | |
uint32_t | mmap_length |
Memory map length. More... | |
uint32_t | mmap_addr |
Memory map address. More... | |
uint32_t | drives_length |
Drive map length. More... | |
uint32_t | drives_addr |
Drive map address. More... | |
uint32_t | config_table |
Configuration table address. More... | |
uint32_t | boot_loader_name |
Pointer to the bootloader's name. More... | |
uint32_t | apm_table |
Pointer to the APM table. More... | |
uint32_t | vbe_control_info |
Pointer to the VBE control info structure. More... | |
uint32_t | vbe_mode_info |
Pointer to the VBE mode info structure. More... | |
uint32_t | vbe_mode |
Current VBE mode. More... | |
uint32_t | vbe_interface_seg |
VBE3.0 interface segment. More... | |
uint32_t | vbe_interface_off |
VBE3.0 interface segment offset. More... | |
uint32_t | vbe_interface_len |
VBE3.0 interface segment length. More... | |
Multiboot header file.
#define MULTIBOOT_FLAG_AOUT 0x010 |
Is there a symbol table loaded ?
#define MULTIBOOT_FLAG_APM 0x200 |
Is there a APM table ?
#define MULTIBOOT_FLAG_CMDLINE 0x004 |
Is the command-line defined ?
#define MULTIBOOT_FLAG_CONFIG 0x080 |
Is there a config table ?
#define MULTIBOOT_FLAG_DEVICE 0x002 |
Is there a boot device set ?
#define MULTIBOOT_FLAG_ELF 0x020 |
Is there an ELF section header table ?
#define MULTIBOOT_FLAG_LOADER 0x100 |
Is there a boot loader name ?
#define MULTIBOOT_FLAG_MEM 0x001 |
Is there basic upper/lower memory information ?
#define MULTIBOOT_FLAG_MMAP 0x040 |
Is there a full memory map ?
#define MULTIBOOT_FLAG_MODS 0x008 |
Are there modules to deal with ?
#define MULTIBOOT_FLAG_VBE 0x400 |
Is there video information ?
#define MULTIBOOT_MEMORY_ACPI_RECLAIMABLE 3 |
Memory is reclaimable by the ACPI.
#define MULTIBOOT_MEMORY_AVAILABLE 1 |
Memory is available.
#define MULTIBOOT_MEMORY_BADRAM 5 |
No such memory here.
#define MULTIBOOT_MEMORY_NVS 4 |
Memory is something (?)
#define MULTIBOOT_MEMORY_RESERVED 2 |
Memory is system-reserved.
typedef struct multiboot_header multiboot_header_t |
Multiboot header structure define.
typedef struct multiboot_memory_map multiboot_memory_map_t |
struct multiboot __attribute__ | ( | (packed) | ) |
uint32_t addr |
This is reserved by symbol table & ELF headers.
uint32_t apm_table |
Pointer to the APM table.
uint32_t boot_device |
Boot device ID.
uint32_t boot_loader_name |
Pointer to the bootloader's name.
uint32_t cmdline |
Pointer to the boot command line.
uint32_t config_table |
Configuration table address.
uint32_t drives_addr |
Drive map address.
uint32_t drives_length |
Drive map length.
uint32_t flags |
Header flags.
uint32_t mem_lower |
Lower memory available.
uint32_t mem_upper |
Upper memory available.
uint32_t mmap_addr |
Memory map address.
uint32_t mmap_length |
Memory map length.
uint32_t mods_addr |
Address to the first module structure.
uint32_t mods_count |
Amount of modules loaded.
uint32_t num |
This is reserved by symbol table & ELF headers.
uint32_t shndx |
This is reserved by symbol table & ELF headers.
uint32_t size |
This is reserved by symbol table & ELF headers.
uint32_t vbe_control_info |
Pointer to the VBE control info structure.
uint32_t vbe_interface_len |
VBE3.0 interface segment length.
uint32_t vbe_interface_off |
VBE3.0 interface segment offset.
uint32_t vbe_interface_seg |
VBE3.0 interface segment.
uint32_t vbe_mode |
Current VBE mode.
uint32_t vbe_mode_info |
Pointer to the VBE mode info structure.