diff options
author | Kay Sievers <kay@vrfy.org> | 2015-03-11 23:26:48 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2015-03-11 23:33:53 +0100 |
commit | 4db7e6d781c2d9bba4e9124d26e811dd4addc1c5 (patch) | |
tree | 7dabc81c01520a8cc0eefdf6813ea07d662be40c /src/boot/efi/util.h | |
parent | 510c4a0f1e7e7efe2897d2fbb9067f121467b103 (diff) |
boot: efi - add config option to disable the command line editor
Diffstat (limited to 'src/boot/efi/util.h')
-rw-r--r-- | src/boot/efi/util.h | 6 |
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); |