next up previous contents index
Next: 10.14.7 boot_info: MultiBoot information Up: (X86 PC) MultiBoot Startup Previous: 10.14.5 Linking MultiBoot kernels

10.14.6 multiboot.h: Definitions of MultiBoot structures and constants

   

SYNOPSIS

#include <oskit/x86/multiboot.h>

DESCRIPTION

This header file is not specific to the MultiBoot startup code provided by the OSKit; it merely contains generic symbolic structure and constant definitions corresponding to the data structures specified in the MultiBoot specification. The following C structures are defined:
struct multiboot_header
  Defines the MultiBoot header structure which is located near the beginning of all MultiBoot-compliant kernel executables.
struct multiboot_info
  Defines the general information structure passed from the boot loader to the OS when control is passed to the OS.
struct multiboot_module
  One of the elements of the multiboot_info structure is an optional array of boot modules which the boot loader may provide; each element of the boot module array is reflected by this structure.
struct multiboot_addr_range
  Another optional component of the multiboot_info structure is a pointer to an array of address range descriptors, described by this structure, which define the layout of physical memory on the machine. (XXX name mismatch.)

For more information on these structures and the associated constants, see the multiboot.h header file and the MultiBoot specification.

XXX should move this to x86/pc/multiboot.h?



University of Utah Flux Research Group