summaryrefslogtreecommitdiff
path: root/include/console.h
diff options
context:
space:
mode:
authorMatthew Garrett <matthew.garrett@nebula.com>2013-09-26 11:57:59 -0400
committerPeter Jones <pjones@redhat.com>2013-09-26 11:57:59 -0400
commit17857eb8b55fa9864bfd71083d9291c74b0bab8e (patch)
treebb526a90c21e07c1177da069c50788e7a705bc3f /include/console.h
parent2aa2ddd8a823452fa25955816546fb7455c108ce (diff)
downloadefi-boot-shim-17857eb8b55fa9864bfd71083d9291c74b0bab8e.tar.gz
efi-boot-shim-17857eb8b55fa9864bfd71083d9291c74b0bab8e.zip
Port MokManager to Linux Foundation loader UI code
This is the first stage of porting the MokManager UI to the UI code used by the Linux Foundation UEFI loader.
Diffstat (limited to 'include/console.h')
-rw-r--r--include/console.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h
new file mode 100644
index 00000000..7eb8a0be
--- /dev/null
+++ b/include/console.h
@@ -0,0 +1,21 @@
+EFI_INPUT_KEY
+console_get_keystroke(void);
+void
+console_print_box_at(CHAR16 *str_arr[], int highlight, int start_col, int start_row, int size_cols, int size_rows, int offset, int lines);
+void
+console_print_box(CHAR16 *str_arr[], int highlight);
+int
+console_yes_no(CHAR16 *str_arr[]);
+int
+console_select(CHAR16 *title[], CHAR16* selectors[], int start);
+void
+console_errorbox(CHAR16 *err);
+void
+console_error(CHAR16 *err, EFI_STATUS);
+void
+console_alertbox(CHAR16 **title);
+void
+console_notify(CHAR16 *string);
+void
+console_reset(void);
+#define NOSEL 0x7fffffff