78 #define BZI_HDR_OFFSET 0x1f1 81 #define BZI_BOOT_FLAG 0xaa55 84 #define BZI_SIGNATURE 0x53726448 87 #define BZI_LOADER_TYPE_ETHERBOOT 0x40 93 #define BZI_LOADER_TYPE_IPXE ( BZI_LOADER_TYPE_ETHERBOOT | 0x06 ) 96 #define BZI_LOAD_HIGH 0x01 99 #define BZI_LOAD_HIGH_ADDR 0x100000 102 #define BZI_LOAD_LOW_ADDR 0x10000 105 #define BZI_CAN_USE_HEAP 0x80 108 #define BZI_VID_MODE_NORMAL 0xffff 111 #define BZI_VID_MODE_EXT 0xfffe 114 #define BZI_VID_MODE_ASK 0xfffd 117 #define BZI_INITRD_MAX 0x37ffffff 128 #define BZI_CMDLINE_OFFSET 0x20 131 #define BZI_CMDLINE_MAGIC 0xa33f 134 #define BZI_ASSUMED_RM_SIZE 0x8000 137 #define BZI_STACK_SIZE 0x1000 140 #define BZI_CMDLINE_SIZE 0x7ff
struct bzimage_header __attribute__((packed))
uint16_t magic
Magic signature.
uint16_t offset
Offset to command line.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
bzImage command-line structure used by older kernels