#[repr(C, packed)]
pub struct boot_params {
Show 34 fields pub screen_info: screen_info, pub apm_bios_info: apm_bios_info, pub _pad2: [__u8; 4], pub tboot_addr: __u64, pub ist_info: ist_info, pub acpi_rsdp_addr: __u64, pub _pad3: [__u8; 8], pub hd0_info: [__u8; 16], pub hd1_info: [__u8; 16], pub sys_desc_table: sys_desc_table, pub olpc_ofw_header: olpc_ofw_header, pub ext_ramdisk_image: __u32, pub ext_ramdisk_size: __u32, pub ext_cmd_line_ptr: __u32, pub _pad4: [__u8; 116], pub edid_info: edid_info, pub efi_info: efi_info, pub alt_mem_k: __u32, pub scratch: __u32, pub e820_entries: __u8, pub eddbuf_entries: __u8, pub edd_mbr_sig_buf_entries: __u8, pub kbd_status: __u8, pub secure_boot: __u8, pub _pad5: [__u8; 2], pub sentinel: __u8, pub _pad6: [__u8; 1], pub hdr: setup_header, pub _pad7: [__u8; 36], pub edd_mbr_sig_buffer: [__u32; 16], pub e820_table: [boot_e820_entry; 128], pub _pad8: [__u8; 48], pub eddbuf: [edd_info; 6], pub _pad9: [__u8; 276],
}

Fields

screen_info: screen_infoapm_bios_info: apm_bios_info_pad2: [__u8; 4]tboot_addr: __u64ist_info: ist_infoacpi_rsdp_addr: __u64_pad3: [__u8; 8]hd0_info: [__u8; 16]hd1_info: [__u8; 16]sys_desc_table: sys_desc_tableolpc_ofw_header: olpc_ofw_headerext_ramdisk_image: __u32ext_ramdisk_size: __u32ext_cmd_line_ptr: __u32_pad4: [__u8; 116]edid_info: edid_infoefi_info: efi_infoalt_mem_k: __u32scratch: __u32e820_entries: __u8eddbuf_entries: __u8edd_mbr_sig_buf_entries: __u8kbd_status: __u8secure_boot: __u8_pad5: [__u8; 2]sentinel: __u8_pad6: [__u8; 1]hdr: setup_header_pad7: [__u8; 36]edd_mbr_sig_buffer: [__u32; 16]e820_table: [boot_e820_entry; 128]_pad8: [__u8; 48]eddbuf: [edd_info; 6]_pad9: [__u8; 276]

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. 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.