authorgravatar for n@nirf.deNick Erdmann <n@nirf.de> 2019-09-02 20:34:00+02:00
committergravatar for n@nirf.deNick Erdmann <n@nirf.de> 2019-09-02 20:34:00+02:00
log03abc6edf450cfa6a55a3d416def44595a19a453
tree5eaa90e717174a0aa16273869eee4a476fa460f5
parent70e62b86121dc5d54073bb34fe950ce6b3dff2cd
signature Commit is signed but in an unrecognized format.

std/os/uefi: add global_variable guid


2 files changed, 11 insertions(+), 0 deletions(-)

std/os/uefi/tables.zig+1
......@@ -1,5 +1,6 @@
11pub const BootServices = @import("tables/boot_services.zig").BootServices;
22pub const ConfigurationTable = @import("tables/configuration_table.zig").ConfigurationTable;
3pub const global_variable align(8) = @import("tables/runtime_services.zig").global_variable;
34pub const ResetType = @import("tables/runtime_services.zig").ResetType;
45pub const RuntimeServices = @import("tables/runtime_services.zig").RuntimeServices;
56pub const SystemTable = @import("tables/system_table.zig").SystemTable;
std/os/uefi/tables/runtime_services.zig+10
......@@ -39,3 +39,13 @@ pub const ResetType = extern enum(u32) {
3939 ResetShutdown,
4040 ResetPlatformSpecific,
4141};
42
43/// UEFI Specification, Version 2.8, 3.3
44pub const global_variable align(8) = Guid{
45 .time_low = 0x8be4df61,
46 .time_mid = 0x93ca,
47 .time_high_and_version = 0x11d2,
48 .clock_seq_high_and_reserved = 0xaa,
49 .clock_seq_low = 0x0d,
50 .node = [_]u8{ 0x00, 0xe0, 0x98, 0x03, 0x2b, 0x8c },
51};