diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-07-17 21:22:42 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-07-27 07:23:18 +0200 |
commit | 21a83053ab619f00fce457c717c496d3b0dc7b4d (patch) | |
tree | ecd048ac09bf5e4be869460d313af28a6e309b3e /include/efi.h | |
parent | ceb217682cefb8a06c729df00e5060f83731b820 (diff) | |
download | barebox-21a83053ab619f00fce457c717c496d3b0dc7b4d.tar.gz barebox-21a83053ab619f00fce457c717c496d3b0dc7b4d.tar.xz |
efi: write volatile EFI variables used by systemd
LoaderTimeInitUSec and LoaderTimeExecUSec are used e.g. in systemd-analyze
to calculate the time spent in the firmare and barebox.
LoaderDevicePartUUID is used to mount the EFI partition to /boot.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/efi.h')
-rw-r--r-- | include/efi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/efi.h b/include/efi.h index 830e0457dd..5b0de119fb 100644 --- a/include/efi.h +++ b/include/efi.h @@ -473,6 +473,10 @@ extern efi_runtime_services_t *RT; #define EFI_BAREBOX_VENDOR_GUID \ EFI_GUID(0x5b91f69c, 0x8b88, 0x4a2b, 0x92, 0x69, 0x5f, 0x1d, 0x80, 0x2b, 0x51, 0x75) +/* for systemd */ +#define EFI_SYSTEMD_VENDOR_GUID \ + EFI_GUID(0x4a67b082, 0x0a4c, 0x41cf, 0xb6, 0xc7, 0x44, 0x0b, 0x29, 0xbb, 0x8c, 0x4f) + extern efi_guid_t efi_file_info_id; extern efi_guid_t efi_simple_file_system_protocol_guid; extern efi_guid_t efi_device_path_protocol_guid; @@ -481,6 +485,7 @@ extern efi_guid_t efi_unknown_device_guid; extern efi_guid_t efi_null_guid; extern efi_guid_t efi_global_variable_guid; extern efi_guid_t efi_block_io_protocol_guid; +extern efi_guid_t efi_systemd_vendor_guid; #define EFI_SYSTEM_TABLE_SIGNATURE ((u64)0x5453595320494249ULL) |