Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
bootparam.h File Reference
#include <linux/types.h>
#include <linux/screen_info.h>
#include <linux/apm_bios.h>
#include <linux/edd.h>
#include <asm/e820.h>
#include <asm/ist.h>
#include <video/edid.h>

Go to the source code of this file.

Data Structures

struct  setup_data
 
struct  setup_header
 
struct  sys_desc_table
 
struct  olpc_ofw_header
 
struct  efi_info
 
struct  boot_params
 

Macros

#define SETUP_NONE   0
 
#define SETUP_E820_EXT   1
 
#define SETUP_DTB   2
 
#define RAMDISK_IMAGE_START_MASK   0x07FF
 
#define RAMDISK_PROMPT_FLAG   0x8000
 
#define RAMDISK_LOAD_FLAG   0x4000
 
#define LOADED_HIGH   (1<<0)
 
#define QUIET_FLAG   (1<<5)
 
#define KEEP_SEGMENTS   (1<<6)
 
#define CAN_USE_HEAP   (1<<7)
 

Enumerations

enum  {
  X86_SUBARCH_PC = 0, X86_SUBARCH_LGUEST, X86_SUBARCH_XEN, X86_SUBARCH_MRST,
  X86_SUBARCH_CE4100, X86_NR_SUBARCHS
}
 

Functions

struct setup_header __attribute__ ((packed))
 

Variables

__u8 setup_sects
 
__u16 root_flags
 
__u32 syssize
 
__u16 ram_size
 
__u16 vid_mode
 
__u16 root_dev
 
__u16 boot_flag
 
__u16 jump
 
__u32 header
 
__u16 version
 
__u32 realmode_swtch
 
__u16 start_sys
 
__u16 kernel_version
 
__u8 type_of_loader
 
__u8 loadflags
 
__u16 setup_move_size
 
__u32 code32_start
 
__u32 ramdisk_image
 
__u32 ramdisk_size
 
__u32 bootsect_kludge
 
__u16 heap_end_ptr
 
__u8 ext_loader_ver
 
__u8 ext_loader_type
 
__u32 cmd_line_ptr
 
__u32 initrd_addr_max
 
__u32 kernel_alignment
 
__u8 relocatable_kernel
 
__u8 _pad2 [3]
 
__u32 cmdline_size
 
__u32 hardware_subarch
 
__u64 hardware_subarch_data
 
__u32 payload_offset
 
__u32 payload_length
 
__u64 setup_data
 
__u64 pref_address
 
__u32 init_size
 
__u32 handover_offset
 
struct sys_desc_table __attribute__
 
__u32 ofw_magic
 
__u32 ofw_version
 
__u32 cif_handler
 
__u32 irq_desc_table
 
struct screen_info screen_info
 
struct apm_bios_info apm_bios_info
 
__u64 tboot_addr
 
struct ist_info ist_info
 
__u8 _pad3 [16]
 
__u8 hd0_info [16]
 
__u8 hd1_info [16]
 
struct sys_desc_table sys_desc_table
 
struct olpc_ofw_header olpc_ofw_header
 
__u8 _pad4 [128]
 
struct edid_info edid_info
 
struct efi_info efi_info
 
__u32 alt_mem_k
 
__u32 scratch
 
__u8 e820_entries
 
__u8 eddbuf_entries
 
__u8 edd_mbr_sig_buf_entries
 
__u8 kbd_status
 
__u8 _pad6 [5]
 
struct setup_header hdr
 
__u8 _pad7 [0x290-0x1f1-sizeof(struct setup_header)]
 
__u32 edd_mbr_sig_buffer [EDD_MBR_SIG_MAX]
 
struct e820entry e820_map [E820MAX]
 
__u8 _pad8 [48]
 
struct edd_info eddbuf [EDDMAXNR]
 
__u8 _pad9 [276]
 

Macro Definition Documentation

#define CAN_USE_HEAP   (1<<7)

Definition at line 92 of file bootparam.h.

#define KEEP_SEGMENTS   (1<<6)

Definition at line 91 of file bootparam.h.

#define LOADED_HIGH   (1<<0)

Definition at line 89 of file bootparam.h.

#define QUIET_FLAG   (1<<5)

Definition at line 90 of file bootparam.h.

#define RAMDISK_IMAGE_START_MASK   0x07FF

Definition at line 75 of file bootparam.h.

#define RAMDISK_LOAD_FLAG   0x4000

Definition at line 77 of file bootparam.h.

#define RAMDISK_PROMPT_FLAG   0x8000

Definition at line 76 of file bootparam.h.

#define SETUP_DTB   2

Definition at line 15 of file bootparam.h.

#define SETUP_E820_EXT   1

Definition at line 14 of file bootparam.h.

#define SETUP_NONE   0

Definition at line 13 of file bootparam.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
X86_SUBARCH_PC 
X86_SUBARCH_LGUEST 
X86_SUBARCH_XEN 
X86_SUBARCH_MRST 
X86_SUBARCH_CE4100 
X86_NR_SUBARCHS 

Definition at line 127 of file bootparam.h.

Function Documentation

struct setup_header __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

Variable Documentation

enum { ... } __attribute__
__u8 _pad2[4]

Definition at line 105 of file bootparam.h.

__u8 _pad3[16]

Definition at line 131 of file bootparam.h.

__u8 _pad4[128]

Definition at line 136 of file bootparam.h.

__u8 _pad6[5]

Definition at line 145 of file bootparam.h.

__u8 _pad7[0x290-0x1f1-sizeof(struct setup_header)]

Definition at line 147 of file bootparam.h.

__u8 _pad8[48]

Definition at line 150 of file bootparam.h.

__u8 _pad9[276]

Definition at line 152 of file bootparam.h.

__u32 alt_mem_k

Definition at line 139 of file bootparam.h.

Definition at line 127 of file bootparam.h.

__u16 boot_flag

Definition at line 80 of file bootparam.h.

__u32 bootsect_kludge

Definition at line 97 of file bootparam.h.

__u32 cif_handler

Definition at line 86 of file bootparam.h.

__u32 cmd_line_ptr

Definition at line 101 of file bootparam.h.

__u32 cmdline_size

Definition at line 106 of file bootparam.h.

__u32 code32_start

Definition at line 94 of file bootparam.h.

__u8 e820_entries

Definition at line 141 of file bootparam.h.

Definition at line 149 of file bootparam.h.

__u8 edd_mbr_sig_buf_entries

Definition at line 143 of file bootparam.h.

__u32 edd_mbr_sig_buffer[EDD_MBR_SIG_MAX]

Definition at line 148 of file bootparam.h.

Definition at line 151 of file bootparam.h.

__u8 eddbuf_entries

Definition at line 142 of file bootparam.h.

Definition at line 137 of file bootparam.h.

Definition at line 138 of file bootparam.h.

__u8 ext_loader_type

Definition at line 100 of file bootparam.h.

__u8 ext_loader_ver

Definition at line 99 of file bootparam.h.

__u32 handover_offset

Definition at line 114 of file bootparam.h.

__u32 hardware_subarch

Definition at line 107 of file bootparam.h.

__u64 hardware_subarch_data

Definition at line 108 of file bootparam.h.

__u8 hd0_info[16]

Definition at line 132 of file bootparam.h.

__u8 hd1_info[16]

Definition at line 133 of file bootparam.h.

Definition at line 146 of file bootparam.h.

Definition at line 82 of file bootparam.h.

__u16 heap_end_ptr

Definition at line 98 of file bootparam.h.

__u32 init_size

Definition at line 113 of file bootparam.h.

__u32 initrd_addr_max

Definition at line 102 of file bootparam.h.

__u32 irq_desc_table

Definition at line 87 of file bootparam.h.

Definition at line 130 of file bootparam.h.

__u16 jump

Definition at line 81 of file bootparam.h.

__u8 kbd_status

Definition at line 144 of file bootparam.h.

__u32 kernel_alignment

Definition at line 103 of file bootparam.h.

__u16 kernel_version

Definition at line 86 of file bootparam.h.

__u8 loadflags

Definition at line 88 of file bootparam.h.

__u32 ofw_magic

Definition at line 84 of file bootparam.h.

__u32 ofw_version

Definition at line 85 of file bootparam.h.

Definition at line 135 of file bootparam.h.

__u32 payload_length

Definition at line 110 of file bootparam.h.

__u32 payload_offset

Definition at line 109 of file bootparam.h.

__u64 pref_address

Definition at line 112 of file bootparam.h.

__u16 ram_size

Definition at line 74 of file bootparam.h.

__u32 ramdisk_image

Definition at line 95 of file bootparam.h.

__u32 ramdisk_size

Definition at line 96 of file bootparam.h.

__u32 realmode_swtch

Definition at line 84 of file bootparam.h.

__u8 relocatable_kernel

Definition at line 104 of file bootparam.h.

__u16 root_dev

Definition at line 79 of file bootparam.h.

__u16 root_flags

Definition at line 72 of file bootparam.h.

Definition at line 140 of file bootparam.h.

Definition at line 126 of file bootparam.h.

Definition at line 111 of file bootparam.h.

__u16 setup_move_size

Definition at line 93 of file bootparam.h.

__u8 setup_sects

Definition at line 71 of file bootparam.h.

__u16 start_sys

Definition at line 85 of file bootparam.h.

Definition at line 134 of file bootparam.h.

__u32 syssize

Definition at line 73 of file bootparam.h.

__u64 tboot_addr

Definition at line 129 of file bootparam.h.

__u8 type_of_loader

Definition at line 87 of file bootparam.h.

__u16 version

Definition at line 83 of file bootparam.h.

__u16 vid_mode

Definition at line 78 of file bootparam.h.