#[repr(C)]pub struct EfiSystemTable {Show 18 fields
pub signature: u64,
pub revision: u32,
pub header_size: u32,
pub crc32: u32,
pub reserved: u32,
pub firmware_vendor: u64,
pub firmware_revision: u32,
pub _pad0: u32,
pub console_in_handle: u64,
pub con_in: u64,
pub console_out_handle: u64,
pub con_out: u64,
pub standard_error_handle: u64,
pub std_err: u64,
pub runtime_services: u64,
pub boot_services: u64,
pub number_of_table_entries: u64,
pub configuration_table: u64,
}Expand description
From UEFI spec 4.6 — EFI_SYSTEM_TABLE
Minimal layout covering header fields and the pointers needed by the Linux EFI stub (firmware vendor, configuration table).
Fields§
§signature: u64§revision: u32§header_size: u32§crc32: u32§reserved: u32§firmware_vendor: u64§firmware_revision: u32§_pad0: u32§console_in_handle: u64§con_in: u64§console_out_handle: u64§con_out: u64§standard_error_handle: u64§std_err: u64§runtime_services: u64§boot_services: u64§number_of_table_entries: u64§configuration_table: u64Trait Implementations§
Source§impl Clone for EfiSystemTable
impl Clone for EfiSystemTable
Source§fn clone(&self) -> EfiSystemTable
fn clone(&self) -> EfiSystemTable
Returns a duplicate 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 EfiSystemTable
impl Debug for EfiSystemTable
Source§impl Default for EfiSystemTable
impl Default for EfiSystemTable
Source§fn default() -> EfiSystemTable
fn default() -> EfiSystemTable
Returns the “default value” for a type. Read more
Source§impl IntoBytes for EfiSystemTable
impl IntoBytes for EfiSystemTable
Source§impl KnownLayout for EfiSystemTablewhere
u64: KnownLayout,
impl KnownLayout for EfiSystemTablewhere
u64: KnownLayout,
Source§type PointerMetadata = <u64 as KnownLayout>::PointerMetadata
type PointerMetadata = <u64 as KnownLayout>::PointerMetadata
The type of metadata stored in a pointer to
Self. Read more§fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
Computes the size of an object of type
Self with the given pointer
metadata. Read moreimpl Copy for EfiSystemTable
impl Immutable for EfiSystemTable
Auto Trait Implementations§
impl Freeze for EfiSystemTable
impl RefUnwindSafe for EfiSystemTable
impl Send for EfiSystemTable
impl Sync for EfiSystemTable
impl Unpin for EfiSystemTable
impl UnwindSafe for EfiSystemTable
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