AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
multiboot.h File Reference

multiboot.h - Multiboot header file. More...

#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  multiboot_header
struct  multiboot_aout_symbol_table
struct  multiboot_elf_section_header_table
struct  multiboot_info
struct  multiboot_mmap_entry
struct  multiboot_mod_list

Macros

#define MULTIBOOT_SEARCH   8192
#define MULTIBOOT_HEADER_MAGIC   0x1BADB002
#define MULTIBOOT_BOOTLOADER_MAGIC   0x2BADB002
#define MULTIBOOT_UNSUPPORTED   0x0000fffc
#define MULTIBOOT_MOD_ALIGN   0x00001000
#define MULTIBOOT_INFO_ALIGN   0x00000004
#define MULTIBOOT_PAGE_ALIGN   0x00000001
#define MULTIBOOT_MEMORY_INFO   0x00000002
#define MULTIBOOT_VIDEO_MODE   0x00000004
#define MULTIBOOT_AOUT_KLUDGE   0x00010000
#define MULTIBOOT_INFO_MEMORY   0x00000001
#define MULTIBOOT_INFO_BOOTDEV   0x00000002
#define MULTIBOOT_INFO_CMDLINE   0x00000004
#define MULTIBOOT_INFO_MODS   0x00000008
#define MULTIBOOT_INFO_AOUT_SYMS   0x00000010
#define MULTIBOOT_INFO_ELF_SHDR   0X00000020
#define MULTIBOOT_INFO_MEM_MAP   0x00000040
#define MULTIBOOT_INFO_DRIVE_INFO   0x00000080
#define MULTIBOOT_INFO_CONFIG_TABLE   0x00000100
#define MULTIBOOT_INFO_BOOT_LOADER_NAME   0x00000200
#define MULTIBOOT_INFO_APM_TABLE   0x00000400
#define MULTIBOOT_INFO_VIDEO_INFO   0x00000800
#define MULTIBOOT_INFO_FRAMEBUFFER_INFO   0x00001000
#define MULTIBOOT_FRAMEBUFFER_TYPE_INDEXED   0
#define MULTIBOOT_FRAMEBUFFER_TYPE_RGB   1
#define MULTIBOOT_FRAMEBUFFER_TYPE_EGA_TEXT   2
#define MULTIBOOT_MEMORY_AVAILABLE   1
#define MULTIBOOT_MEMORY_RESERVED   2

Typedefs

typedef struct multiboot_aout_symbol_table multiboot_aout_symbol_table_t
typedef struct multiboot_elf_section_header_table multiboot_elf_section_header_table_t
typedef struct multiboot_info multiboot_info_t
typedef struct multiboot_mmap_entry multiboot_mmap_t
typedef struct multiboot_mod_list multiboot_module_t

Variables

uint32_t multiboot_signature
uint32_t multiboot_info

Detailed Description

multiboot.h - Multiboot header file.

Definition in file multiboot.h.

Macro Definition Documentation

◆ MULTIBOOT_AOUT_KLUDGE

#define MULTIBOOT_AOUT_KLUDGE   0x00010000

Definition at line 56 of file multiboot.h.

◆ MULTIBOOT_BOOTLOADER_MAGIC

#define MULTIBOOT_BOOTLOADER_MAGIC   0x2BADB002

Definition at line 33 of file multiboot.h.

◆ MULTIBOOT_FRAMEBUFFER_TYPE_EGA_TEXT

#define MULTIBOOT_FRAMEBUFFER_TYPE_EGA_TEXT   2

Definition at line 204 of file multiboot.h.

◆ MULTIBOOT_FRAMEBUFFER_TYPE_INDEXED

#define MULTIBOOT_FRAMEBUFFER_TYPE_INDEXED   0

Definition at line 202 of file multiboot.h.

◆ MULTIBOOT_FRAMEBUFFER_TYPE_RGB

#define MULTIBOOT_FRAMEBUFFER_TYPE_RGB   1

Definition at line 203 of file multiboot.h.

Referenced by process_multiboot_info().

◆ MULTIBOOT_HEADER_MAGIC

#define MULTIBOOT_HEADER_MAGIC   0x1BADB002

Definition at line 30 of file multiboot.h.

◆ MULTIBOOT_INFO_ALIGN

#define MULTIBOOT_INFO_ALIGN   0x00000004

Definition at line 42 of file multiboot.h.

◆ MULTIBOOT_INFO_AOUT_SYMS

#define MULTIBOOT_INFO_AOUT_SYMS   0x00000010

Definition at line 72 of file multiboot.h.

◆ MULTIBOOT_INFO_APM_TABLE

#define MULTIBOOT_INFO_APM_TABLE   0x00000400

Definition at line 89 of file multiboot.h.

◆ MULTIBOOT_INFO_BOOT_LOADER_NAME

#define MULTIBOOT_INFO_BOOT_LOADER_NAME   0x00000200

Definition at line 86 of file multiboot.h.

◆ MULTIBOOT_INFO_BOOTDEV

#define MULTIBOOT_INFO_BOOTDEV   0x00000002

Definition at line 63 of file multiboot.h.

◆ MULTIBOOT_INFO_CMDLINE

#define MULTIBOOT_INFO_CMDLINE   0x00000004

Definition at line 65 of file multiboot.h.

Referenced by process_multiboot_info().

◆ MULTIBOOT_INFO_CONFIG_TABLE

#define MULTIBOOT_INFO_CONFIG_TABLE   0x00000100

Definition at line 83 of file multiboot.h.

◆ MULTIBOOT_INFO_DRIVE_INFO

#define MULTIBOOT_INFO_DRIVE_INFO   0x00000080

Definition at line 80 of file multiboot.h.

◆ MULTIBOOT_INFO_ELF_SHDR

#define MULTIBOOT_INFO_ELF_SHDR   0X00000020

Definition at line 74 of file multiboot.h.

Referenced by process_multiboot_info().

◆ MULTIBOOT_INFO_FRAMEBUFFER_INFO

#define MULTIBOOT_INFO_FRAMEBUFFER_INFO   0x00001000

Definition at line 95 of file multiboot.h.

Referenced by process_multiboot_info().

◆ MULTIBOOT_INFO_MEM_MAP

#define MULTIBOOT_INFO_MEM_MAP   0x00000040

Definition at line 77 of file multiboot.h.

Referenced by process_multiboot_info().

◆ MULTIBOOT_INFO_MEMORY

#define MULTIBOOT_INFO_MEMORY   0x00000001

Definition at line 61 of file multiboot.h.

Referenced by process_multiboot_info().

◆ MULTIBOOT_INFO_MODS

#define MULTIBOOT_INFO_MODS   0x00000008

Definition at line 67 of file multiboot.h.

Referenced by process_multiboot_info().

◆ MULTIBOOT_INFO_VIDEO_INFO

#define MULTIBOOT_INFO_VIDEO_INFO   0x00000800

Definition at line 92 of file multiboot.h.

Referenced by process_multiboot_info().

◆ MULTIBOOT_MEMORY_AVAILABLE

#define MULTIBOOT_MEMORY_AVAILABLE   1

Definition at line 215 of file multiboot.h.

◆ MULTIBOOT_MEMORY_INFO

#define MULTIBOOT_MEMORY_INFO   0x00000002

Definition at line 50 of file multiboot.h.

◆ MULTIBOOT_MEMORY_RESERVED

#define MULTIBOOT_MEMORY_RESERVED   2

Definition at line 216 of file multiboot.h.

◆ MULTIBOOT_MOD_ALIGN

#define MULTIBOOT_MOD_ALIGN   0x00001000

Definition at line 39 of file multiboot.h.

◆ MULTIBOOT_PAGE_ALIGN

#define MULTIBOOT_PAGE_ALIGN   0x00000001

Definition at line 47 of file multiboot.h.

◆ MULTIBOOT_SEARCH

#define MULTIBOOT_SEARCH   8192

Definition at line 27 of file multiboot.h.

◆ MULTIBOOT_UNSUPPORTED

#define MULTIBOOT_UNSUPPORTED   0x0000fffc

Definition at line 36 of file multiboot.h.

◆ MULTIBOOT_VIDEO_MODE

#define MULTIBOOT_VIDEO_MODE   0x00000004

Definition at line 53 of file multiboot.h.

Typedef Documentation

◆ multiboot_aout_symbol_table_t

Definition at line 134 of file multiboot.h.

◆ multiboot_elf_section_header_table_t

◆ multiboot_info_t

Definition at line 208 of file multiboot.h.

◆ multiboot_mmap_t

Definition at line 219 of file multiboot.h.

◆ multiboot_module_t

Definition at line 233 of file multiboot.h.

Variable Documentation

◆ multiboot_info

uint32_t multiboot_info
extern

◆ multiboot_signature

uint32_t multiboot_signature
extern