bzimage.h File Reference

#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  bzimage_header
 A bzImage header. More...
struct  bzimage_cmdline
 bzImage command-line structure used by older kernels More...

Defines

#define BZI_HDR_OFFSET   0x1f1
 Offset of bzImage header within kernel image.
#define BZI_BOOT_FLAG   0xaa55
 bzImage boot flag value
#define BZI_SIGNATURE   0x53726448
 bzImage magic signature value
#define BZI_LOADER_TYPE_ETHERBOOT   0x40
 bzImage boot loader identifier for Etherboot
#define BZI_LOADER_TYPE_GPXE   ( BZI_LOADER_TYPE_ETHERBOOT | 0x06 )
 bzImage boot loader identifier for gPXE
#define BZI_LOAD_HIGH   0x01
 bzImage "load high" flag
#define BZI_LOAD_HIGH_ADDR   0x100000
 Load address for high-loaded kernels.
#define BZI_LOAD_LOW_ADDR   0x10000
 Load address for low-loaded kernels.
#define BZI_CAN_USE_HEAP   0x80
 bzImage "kernel can use heap" flag
#define BZI_VID_MODE_NORMAL   0xffff
 bzImage special video mode "normal"
#define BZI_VID_MODE_EXT   0xfffe
 bzImage special video mode "ext"
#define BZI_VID_MODE_ASK   0xfffd
 bzImage special video mode "ask"
#define BZI_INITRD_MAX   0x37ffffff
 bzImage maximum initrd address for versions < 2.03
#define BZI_CMDLINE_OFFSET   0x20
 Offset of bzImage command-line structure within kernel image.
#define BZI_CMDLINE_MAGIC   0xa33f
 bzImage command line present magic marker value
#define BZI_ASSUMED_RM_SIZE   0x8000
 Assumed size of real-mode portion (including .bss).
#define BZI_STACK_SIZE   0x1000
 Amount of stack space to provide.
#define BZI_CMDLINE_SIZE   0x100
 Maximum size of command line.

Functions

 FILE_LICENCE (GPL2_OR_LATER)

Variables

struct bzimage_header packed
 A bzImage header.


Define Documentation

#define BZI_HDR_OFFSET   0x1f1

Offset of bzImage header within kernel image.

Definition at line 78 of file bzimage.h.

Referenced by bzimage_parse_header(), and bzimage_update_header().

#define BZI_BOOT_FLAG   0xaa55

bzImage boot flag value

Definition at line 81 of file bzimage.h.

Referenced by bzimage_parse_header().

#define BZI_SIGNATURE   0x53726448

bzImage magic signature value

Definition at line 84 of file bzimage.h.

Referenced by bzimage_parse_header().

#define BZI_LOADER_TYPE_ETHERBOOT   0x40

bzImage boot loader identifier for Etherboot

Definition at line 87 of file bzimage.h.

#define BZI_LOADER_TYPE_GPXE   ( BZI_LOADER_TYPE_ETHERBOOT | 0x06 )

bzImage boot loader identifier for gPXE

We advertise ourselves as Etherboot version 6.

Definition at line 93 of file bzimage.h.

Referenced by bzimage_update_header(), and int22().

#define BZI_LOAD_HIGH   0x01

bzImage "load high" flag

Definition at line 96 of file bzimage.h.

Referenced by bzimage_parse_header().

#define BZI_LOAD_HIGH_ADDR   0x100000

Load address for high-loaded kernels.

Definition at line 99 of file bzimage.h.

Referenced by bzimage_load_initrds(), and bzimage_parse_header().

#define BZI_LOAD_LOW_ADDR   0x10000

Load address for low-loaded kernels.

Definition at line 102 of file bzimage.h.

Referenced by bzimage_parse_header().

#define BZI_CAN_USE_HEAP   0x80

bzImage "kernel can use heap" flag

Definition at line 105 of file bzimage.h.

Referenced by bzimage_update_header().

#define BZI_VID_MODE_NORMAL   0xffff

bzImage special video mode "normal"

Definition at line 108 of file bzimage.h.

Referenced by bzimage_parse_cmdline().

#define BZI_VID_MODE_EXT   0xfffe

bzImage special video mode "ext"

Definition at line 111 of file bzimage.h.

Referenced by bzimage_parse_cmdline().

#define BZI_VID_MODE_ASK   0xfffd

bzImage special video mode "ask"

Definition at line 114 of file bzimage.h.

Referenced by bzimage_parse_cmdline().

#define BZI_INITRD_MAX   0x37ffffff

bzImage maximum initrd address for versions < 2.03

Definition at line 117 of file bzimage.h.

Referenced by bzimage_parse_header().

#define BZI_CMDLINE_OFFSET   0x20

Offset of bzImage command-line structure within kernel image.

Definition at line 128 of file bzimage.h.

Referenced by bzimage_parse_header(), and bzimage_update_header().

#define BZI_CMDLINE_MAGIC   0xa33f

bzImage command line present magic marker value

Definition at line 131 of file bzimage.h.

Referenced by bzimage_update_header().

#define BZI_ASSUMED_RM_SIZE   0x8000

Assumed size of real-mode portion (including .bss).

Definition at line 134 of file bzimage.h.

Referenced by bzimage_parse_header().

#define BZI_STACK_SIZE   0x1000

Amount of stack space to provide.

Definition at line 137 of file bzimage.h.

Referenced by bzimage_parse_header().

#define BZI_CMDLINE_SIZE   0x100

Maximum size of command line.

Definition at line 140 of file bzimage.h.

Referenced by bzimage_parse_header().


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER   ) 


Variable Documentation

A bzImage header.

bzImage command-line structure used by older kernels

As documented in Documentation/i386/boot.txt


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