summaryrefslogtreecommitdiff
path: root/src/boot/efi/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/efi/util.h')
-rw-r--r--src/boot/efi/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/boot/efi/util.h b/src/boot/efi/util.h
index efaafd7492..4727a34d1f 100644
--- a/src/boot/efi/util.h
+++ b/src/boot/efi/util.h
@@ -23,6 +23,12 @@
#define ELEMENTSOF(x) (sizeof(x)/sizeof((x)[0]))
+static inline const CHAR16 *yes_no(BOOLEAN b) {
+ return b ? L"yes" : L"no";
+}
+
+EFI_STATUS parse_boolean(CHAR8 *v, BOOLEAN *b);
+
UINT64 ticks_read(void);
UINT64 ticks_freq(void);
UINT64 time_usec(void);