extern structstd.os.uefi.tables.system_table.SystemTable[src]

The EFI System Table contains pointers to the runtime and boot services tables.

As the system_table may grow with new UEFI versions, it is important to check hdr.header_size.

After successfully calling boot_services.exitBootServices, console_in_handle, con_in, console_out_handle, con_out, standard_error_handle, std_err, and boot_services should be set to null. After setting these attributes to null, hdr.crc32 must be recomputed.

Fields

hdr: TableHeader
firmware_vendor: [*:0]u16

A null-terminated string that identifies the vendor that produces the system firmware of the platform.

firmware_revision: u32
console_in_handle: ?Handle
con_in: ?*SimpleTextInputProtocol
console_out_handle: ?Handle
con_out: ?*SimpleTextOutputProtocol
standard_error_handle: ?Handle
std_err: ?*SimpleTextOutputProtocol
runtime_services: *RuntimeServices
boot_services: ?*BootServices
number_of_table_entries: usize
configuration_table: [*]ConfigurationTable

Values

Constantsignature[src]

Source Code

Source code
pub const signature: u64 = 0x5453595320494249

Constantrevision_1_02[src]

Source Code

Source code
pub const revision_1_02: u32 = (1 << 16) | 2

Constantrevision_1_10[src]

Source Code

Source code
pub const revision_1_10: u32 = (1 << 16) | 10

Constantrevision_2_00[src]

Source Code

Source code
pub const revision_2_00: u32 = (2 << 16)

Constantrevision_2_10[src]

Source Code

Source code
pub const revision_2_10: u32 = (2 << 16) | 10

Constantrevision_2_20[src]

Source Code

Source code
pub const revision_2_20: u32 = (2 << 16) | 20

Constantrevision_2_30[src]

Source Code

Source code
pub const revision_2_30: u32 = (2 << 16) | 30

Constantrevision_2_31[src]

Source Code

Source code
pub const revision_2_31: u32 = (2 << 16) | 31

Constantrevision_2_40[src]

Source Code

Source code
pub const revision_2_40: u32 = (2 << 16) | 40

Constantrevision_2_50[src]

Source Code

Source code
pub const revision_2_50: u32 = (2 << 16) | 50

Constantrevision_2_60[src]

Source Code

Source code
pub const revision_2_60: u32 = (2 << 16) | 60

Constantrevision_2_70[src]

Source Code

Source code
pub const revision_2_70: u32 = (2 << 16) | 70

Constantrevision_2_80[src]

Source Code

Source code
pub const revision_2_80: u32 = (2 << 16) | 80

Constantrevision_2_90[src]

Source Code

Source code
pub const revision_2_90: u32 = (2 << 16) | 90

Constantrevision_2_100[src]

Source Code

Source code
pub const revision_2_100: u32 = (2 << 16) | 100

Constantrevision_2_110[src]

Source Code

Source code
pub const revision_2_110: u32 = (2 << 16) | 110

Source Code

Source code
pub const SystemTable = extern struct {
    hdr: TableHeader,

    /// A null-terminated string that identifies the vendor that produces the system firmware of the platform.
    firmware_vendor: [*:0]u16,
    firmware_revision: u32,
    console_in_handle: ?Handle,
    con_in: ?*SimpleTextInputProtocol,
    console_out_handle: ?Handle,
    con_out: ?*SimpleTextOutputProtocol,
    standard_error_handle: ?Handle,
    std_err: ?*SimpleTextOutputProtocol,
    runtime_services: *RuntimeServices,
    boot_services: ?*BootServices,
    number_of_table_entries: usize,
    configuration_table: [*]ConfigurationTable,

    pub const signature: u64 = 0x5453595320494249;
    pub const revision_1_02: u32 = (1 << 16) | 2;
    pub const revision_1_10: u32 = (1 << 16) | 10;
    pub const revision_2_00: u32 = (2 << 16);
    pub const revision_2_10: u32 = (2 << 16) | 10;
    pub const revision_2_20: u32 = (2 << 16) | 20;
    pub const revision_2_30: u32 = (2 << 16) | 30;
    pub const revision_2_31: u32 = (2 << 16) | 31;
    pub const revision_2_40: u32 = (2 << 16) | 40;
    pub const revision_2_50: u32 = (2 << 16) | 50;
    pub const revision_2_60: u32 = (2 << 16) | 60;
    pub const revision_2_70: u32 = (2 << 16) | 70;
    pub const revision_2_80: u32 = (2 << 16) | 80;
    pub const revision_2_90: u32 = (2 << 16) | 90;
    pub const revision_2_100: u32 = (2 << 16) | 100;
    pub const revision_2_110: u32 = (2 << 16) | 110;
}