Struct linux_raw_sys::bootparam::setup_header
source · #[repr(C, packed(1))]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: __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 setup_header
impl Clone for setup_header
source§fn clone(&self) -> setup_header
fn clone(&self) -> setup_header
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for setup_header
impl Debug for setup_header
impl Copy for setup_header
Auto Trait Implementations§
impl Freeze for setup_header
impl RefUnwindSafe for setup_header
impl Send for setup_header
impl Sync for setup_header
impl Unpin for setup_header
impl UnwindSafe for setup_header
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)