multiboot.h File Reference

Multiboot operating systems. More...

#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  multiboot_header
 A multiboot header. More...
struct  multiboot_aout_symbol_table
 A multiboot a.out symbol table. More...
struct  multiboot_elf_section_header_table
 A multiboot ELF section header table. More...
struct  multiboot_info
 A multiboot information structure. More...
struct  multiboot_module
 A multiboot module structure. More...
struct  multiboot_memory_map
 A multiboot memory map entry. More...

Defines

#define MULTIBOOT_HEADER_MAGIC   0x1BADB002
 The magic number for the Multiboot header.
#define MB_FLAG_PGALIGN   0x00000001
 Boot modules must be page aligned.
#define MB_FLAG_MEMMAP   0x00000002
 Memory map must be provided.
#define MB_FLAG_VIDMODE   0x00000004
 Video mode information must be provided.
#define MB_FLAG_RAW   0x00010000
 Image is a raw multiboot image (not ELF).
#define MULTIBOOT_BOOTLOADER_MAGIC   0x2BADB002
 The magic number passed by a Multiboot-compliant boot loader.
#define MBI_FLAG_MEM   0x00000001
 Multiboot information structure mem_* fields are valid.
#define MBI_FLAG_BOOTDEV   0x00000002
 Multiboot information structure boot_device field is valid.
#define MBI_FLAG_CMDLINE   0x00000004
 Multiboot information structure cmdline field is valid.
#define MBI_FLAG_MODS   0x00000008
 Multiboot information structure module fields are valid.
#define MBI_FLAG_AOUT   0x00000010
 Multiboot information structure a.out symbol table is valid.
#define MBI_FLAG_ELF   0x00000020
 Multiboot information struture ELF section header table is valid.
#define MBI_FLAG_MMAP   0x00000040
 Multiboot information structure memory map is valid.
#define MBI_FLAG_DRIVES   0x00000080
 Multiboot information structure drive list is valid.
#define MBI_FLAG_CFGTBL   0x00000100
 Multiboot information structure ROM configuration field is valid.
#define MBI_FLAG_LOADER   0x00000200
 Multiboot information structure boot loader name field is valid.
#define MBI_FLAG_APM   0x00000400
 Multiboot information structure APM table is valid.
#define MBI_FLAG_VBE   0x00000800
 Multiboot information structure video information is valid.
#define MBMEM_RAM   1
 Usable RAM.

Functions

 FILE_LICENCE (GPL2_OR_LATER)

Variables

struct multiboot_header packed
 A multiboot header.
struct multiboot_header may_alias


Detailed Description

Multiboot operating systems.

Definition in file multiboot.h.


Define Documentation

#define MULTIBOOT_HEADER_MAGIC   0x1BADB002

The magic number for the Multiboot header.

Definition at line 16 of file multiboot.h.

Referenced by multiboot_find_header().

#define MB_FLAG_PGALIGN   0x00000001

Boot modules must be page aligned.

Definition at line 19 of file multiboot.h.

#define MB_FLAG_MEMMAP   0x00000002

Memory map must be provided.

Definition at line 22 of file multiboot.h.

#define MB_FLAG_VIDMODE   0x00000004

Video mode information must be provided.

Definition at line 25 of file multiboot.h.

#define MB_FLAG_RAW   0x00010000

Image is a raw multiboot image (not ELF).

Definition at line 28 of file multiboot.h.

Referenced by multiboot_load_raw().

#define MULTIBOOT_BOOTLOADER_MAGIC   0x2BADB002

The magic number passed by a Multiboot-compliant boot loader.

Must be passed in register eax when jumping to the Multiboot OS image.

Definition at line 36 of file multiboot.h.

Referenced by multiboot_exec().

#define MBI_FLAG_MEM   0x00000001

Multiboot information structure mem_* fields are valid.

Definition at line 39 of file multiboot.h.

Referenced by multiboot_exec().

#define MBI_FLAG_BOOTDEV   0x00000002

Multiboot information structure boot_device field is valid.

Definition at line 42 of file multiboot.h.

#define MBI_FLAG_CMDLINE   0x00000004

Multiboot information structure cmdline field is valid.

Definition at line 45 of file multiboot.h.

Referenced by multiboot_exec().

#define MBI_FLAG_MODS   0x00000008

Multiboot information structure module fields are valid.

Definition at line 48 of file multiboot.h.

Referenced by multiboot_exec().

#define MBI_FLAG_AOUT   0x00000010

Multiboot information structure a.out symbol table is valid.

Definition at line 51 of file multiboot.h.

#define MBI_FLAG_ELF   0x00000020

Multiboot information struture ELF section header table is valid.

Definition at line 54 of file multiboot.h.

#define MBI_FLAG_MMAP   0x00000040

Multiboot information structure memory map is valid.

Definition at line 57 of file multiboot.h.

Referenced by multiboot_exec().

#define MBI_FLAG_DRIVES   0x00000080

Multiboot information structure drive list is valid.

Definition at line 60 of file multiboot.h.

#define MBI_FLAG_CFGTBL   0x00000100

Multiboot information structure ROM configuration field is valid.

Definition at line 63 of file multiboot.h.

#define MBI_FLAG_LOADER   0x00000200

Multiboot information structure boot loader name field is valid.

Definition at line 66 of file multiboot.h.

Referenced by multiboot_exec().

#define MBI_FLAG_APM   0x00000400

Multiboot information structure APM table is valid.

Definition at line 69 of file multiboot.h.

#define MBI_FLAG_VBE   0x00000800

Multiboot information structure video information is valid.

Definition at line 72 of file multiboot.h.

#define MBMEM_RAM   1

Usable RAM.

Definition at line 147 of file multiboot.h.

Referenced by multiboot_build_memmap().


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER   ) 


Variable Documentation

A multiboot header.

A multiboot memory map entry.

A multiboot module structure.

A multiboot information structure.

A multiboot ELF section header table.

A multiboot a.out symbol table.


Generated on Tue Apr 6 20:01:13 2010 for gPXE by  doxygen 1.5.7.1