diff options
author | Mathew King <mathewk@chromium.org> | 2019-04-11 11:56:47 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-04-13 18:37:56 -0700 |
commit | 351c005eddd763ba89997ebc08ad0e19d2d1c3a0 (patch) | |
tree | e9844999a64816a56b2b2804f78cccf86d69b6a9 /firmware/include | |
parent | 6ed4c9938ff0026bb2837171242cd39141e34055 (diff) | |
download | vboot-351c005eddd763ba89997ebc08ad0e19d2d1c3a0.tar.gz |
Enable launching diagnostics from OS broken screenstabilize-12088.B
If firmware diagnostics is enabled allow the user to lauch diagnostics
from the OS broken screen. Currently diagnostics can only be launched
from the recovery screen.
BUG=b:130244249
TEST=Tested on arcada device
make runmisctests
BRANCH=none
Change-Id: Ic6946338605599ea7411b5658acb2c6fc960a782
Signed-off-by: Mathew King <mathewk@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1564448
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'firmware/include')
-rw-r--r-- | firmware/include/vboot_api.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h index 21ac36b4..66e26ef0 100644 --- a/firmware/include/vboot_api.h +++ b/firmware/include/vboot_api.h @@ -774,6 +774,9 @@ VbError_t VbExSetVendorData(const char *vendor_data_value); /* Key code for CTRL + letter */ #define VB_KEY_CTRL(letter) (letter & 0x1f) +/* Key code for fn keys */ +#define VB_KEY_F(num) (num + 0x108) + /* Key codes for required non-printable-ASCII characters. */ enum VbKeyCode_t { VB_KEY_ENTER = '\r', |