summaryrefslogtreecommitdiff
path: root/firmware/2lib/include/2return_codes.h
diff options
context:
space:
mode:
authorHsuan Ting Chen <roccochen@chromium.org>2020-06-19 13:28:06 +0800
committerCommit Bot <commit-bot@chromium.org>2020-07-31 01:51:09 +0000
commitb92543cf86dfa5d342cc0b0f86a38df41d7b7cb1 (patch)
tree2095ffd5dd7b275679a98eb6f73998685de269c0 /firmware/2lib/include/2return_codes.h
parentbc9f971e406619cf0e4f489866d0e38b2bb1264f (diff)
downloadvboot-b92543cf86dfa5d342cc0b0f86a38df41d7b7cb1.tar.gz
vboot/ui: Implement debug info screen
Implement debug info screen with multiple pages. The debug info screen can be accessed using TAB as keyboard shortcut. The menu navigation will be added in a separate CL. The screen has one textbox for displaying one page of debug info, and three buttons: page up, page down, and back. BRANCH=puff BUG=b:146399181, b:144969088 TEST=CC=x86_64-pc-linux-gnu-clang; make clean && make runtests TEST=USE="menu_ui" emerge-nami depthcharge press tab, observe the debug info on the screen Cq-Depend: chromium:2251685 Signed-off-by: Hsuan Ting Chen <roccochen@chromium.org> Change-Id: I6bc0a49c4d69817825f35435b643b006823b5c03 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2251868 Reviewed-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-by: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'firmware/2lib/include/2return_codes.h')
-rw-r--r--firmware/2lib/include/2return_codes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h
index 8d69847c..336c11e0 100644
--- a/firmware/2lib/include/2return_codes.h
+++ b/firmware/2lib/include/2return_codes.h
@@ -774,6 +774,9 @@ enum vb2_return_code {
/* Memory allocation failure */
VB2_ERROR_UI_MEMORY_ALLOC = 0x100c0007,
+ /* Log screen initialization failed */
+ VB2_ERROR_UI_LOG_INIT = 0x100c0008,
+
/**********************************************************************
* Errors generated by host library (non-firmware) start here.
*/