summaryrefslogtreecommitdiff
path: root/src/shared/efivars.h
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-09-23 17:23:35 -0500
committerKay Sievers <kay@vrfy.org>2013-09-24 15:43:41 +0200
commitc51d84dc09476d9c06b8aac726220bf3c7d62e8d (patch)
tree3440df30c67dc883a896c88b653804240f5bf783 /src/shared/efivars.h
parent036ae95ac4a425475b58e1a8e53d5c52b2c8a218 (diff)
support acpi firmware performance data (FPDT)
Prefer firmware-provided performance data over loader-exported ones; if ACPI data is available, always use it, otherwise try to read the loader data. The firmware-provided variables start at the time the first EFI image is executed and end when the operating system exits the boot services; the (loader) time calculated in systemd-analyze increases.
Diffstat (limited to 'src/shared/efivars.h')
-rw-r--r--src/shared/efivars.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/shared/efivars.h b/src/shared/efivars.h
index 2b88c6075c..7921bedc9f 100644
--- a/src/shared/efivars.h
+++ b/src/shared/efivars.h
@@ -42,6 +42,5 @@ int efi_get_boot_option(uint16_t nr, char **title, sd_id128_t *partuuid, char **
int efi_get_boot_order(uint16_t **order);
int efi_get_boot_options(uint16_t **options);
-int efi_get_boot_timestamps(const dual_timestamp *n, dual_timestamp *firmware, dual_timestamp *loader);
-
-int efi_get_loader_device_part_uuid(sd_id128_t *u);
+int efi_loader_get_device_part_uuid(sd_id128_t *u);
+int efi_loader_get_boot_usec(usec_t *firmware, usec_t *loader);