Struct linux_boot_params::SetupHeader
source · #[repr(C, packed(1))]pub struct SetupHeader {Show 39 fields
pub setup_sects: u8,
pub root_flags: u16,
pub syssize: u32,
pub ram_size: u16,
pub vid_mode: u16,
pub root_dev: u16,
pub boot_flag: u16,
pub jump: u16,
pub header: u32,
pub version: u16,
pub realmode_swtch: u32,
pub start_sys_seg: u16,
pub kernel_version: u16,
pub type_of_loader: u8,
pub loadflags: u8,
pub setup_move_size: u16,
pub code32_start: u32,
pub ramdisk_image: u32,
pub ramdisk_size: u32,
pub bootsect_kludge: u32,
pub heap_end_ptr: u16,
pub ext_loader_ver: u8,
pub ext_loader_type: u8,
pub cmd_line_ptr: u32,
pub initrd_addr_max: u32,
pub kernel_alignment: u32,
pub relocatable_kernel: u8,
pub min_alignment: u8,
pub xloadflags: u16,
pub cmdline_size: u32,
pub hardware_subarch: u32,
pub hardware_subarch_data: u64,
pub payload_offset: u32,
pub payload_length: u32,
pub setup_data: u64,
pub pref_address: u64,
pub init_size: u32,
pub handover_offset: u32,
pub kernel_info_offset: u32,
}
Expand description
Linux Boot Protocol header.
Originally defined in the linux source tree:
linux/arch/x86/include/uapi/asm/bootparam.h
Fields§
§setup_sects: u8
§root_flags: u16
§syssize: u32
§ram_size: u16
§vid_mode: u16
§root_dev: u16
§boot_flag: u16
§jump: u16
§header: u32
§version: u16
§realmode_swtch: u32
§start_sys_seg: u16
§kernel_version: u16
§type_of_loader: u8
§loadflags: u8
§setup_move_size: u16
§code32_start: u32
§ramdisk_image: u32
§ramdisk_size: u32
§bootsect_kludge: u32
§heap_end_ptr: u16
§ext_loader_ver: u8
§ext_loader_type: u8
§cmd_line_ptr: u32
§initrd_addr_max: u32
§kernel_alignment: u32
§relocatable_kernel: u8
§min_alignment: u8
§xloadflags: u16
§cmdline_size: u32
§hardware_subarch: u32
§hardware_subarch_data: u64
§payload_offset: u32
§payload_length: u32
§setup_data: u64
§pref_address: u64
§init_size: u32
§handover_offset: u32
§kernel_info_offset: u32
Trait Implementations§
source§impl Clone for SetupHeader
impl Clone for SetupHeader
source§fn clone(&self) -> SetupHeader
fn clone(&self) -> SetupHeader
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more