#[repr(C, packed)]
pub struct setup_header {
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,
}

Fields

setup_sects: __u8root_flags: __u16syssize: __u32ram_size: __u16vid_mode: __u16root_dev: __u16boot_flag: __u16jump: __u16header: __u32version: __u16realmode_swtch: __u32start_sys_seg: __u16kernel_version: __u16type_of_loader: __u8loadflags: __u8setup_move_size: __u16code32_start: __u32ramdisk_image: __u32ramdisk_size: __u32bootsect_kludge: __u32heap_end_ptr: __u16ext_loader_ver: __u8ext_loader_type: __u8cmd_line_ptr: __u32initrd_addr_max: __u32kernel_alignment: __u32relocatable_kernel: __u8min_alignment: __u8xloadflags: __u16cmdline_size: __u32hardware_subarch: __u32hardware_subarch_data: __u64payload_offset: __u32payload_length: __u32setup_data: __u64pref_address: __u64init_size: __u32handover_offset: __u32kernel_info_offset: __u32

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.