Zig 0.17.0-dev (Split by item)
This is an example of documentation generated by
ZigDoc , an alternative to Zig's built-in
Auto Doc feature. See also
examples in other modes/formats . The project being documented here (as the example) is the Zig library itself.
Zig › std/ › os/ › uefi/ › tables/ › system_table.zig
system_table.zig
Index
File
Code
const uefi = @import ("std" ).os .uefi ;
const BootServices = uefi .tables .BootServices ;
const ConfigurationTable = uefi .tables .ConfigurationTable ;
const Handle = uefi .Handle ;
const RuntimeServices = uefi .tables .RuntimeServices ;
const SimpleTextInputProtocol = uefi .protocol .SimpleTextInput ;
const SimpleTextOutputProtocol = uefi .protocol .SimpleTextOutput ;
const TableHeader = uefi .tables .TableHeader ;
pub const SystemTable = extern struct {
hdr : TableHeader ,
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 ;
};