Struct dbs_boot::bootparam::setup_header
source · [−]#[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: __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
sourceimpl Clone for setup_header
impl Clone for setup_header
sourcefn clone(&self) -> setup_header
fn clone(&self) -> setup_header
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for setup_header
impl Debug for setup_header
sourceimpl Default for setup_header
impl Default for setup_header
sourcefn default() -> setup_header
fn default() -> setup_header
Returns the “default value” for a type. Read more
impl Copy for setup_header
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more