diff options
author | Yu-Ping Wu <yupingso@chromium.org> | 2020-04-16 16:43:27 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-04-16 13:19:26 +0000 |
commit | f3203f84e786177f88b48813f22d6e206cae1ce3 (patch) | |
tree | d3c6b180186c29916f1d2c9441304c58cb0fa166 | |
parent | 59757377805347bf798a42e39843804a46062a29 (diff) | |
download | vboot-f3203f84e786177f88b48813f22d6e206cae1ce3.tar.gz |
vboot: Add VB2_ERROR_UI_MEMORY_ALLOC to vb2_error_t
Add VB2_ERROR_UI_MEMORY_ALLOC for memory allocation failure in UI.
BRANCH=none
BUG=b:146399181
TEST=emerge-nami vboot_reference
Change-Id: Ib6d8ccbfe73f90297f400430b4ae1204adbf7ee4
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2152331
Reviewed-by: Joel Kitching <kitching@chromium.org>
Commit-Queue: Joel Kitching <kitching@chromium.org>
-rw-r--r-- | firmware/2lib/include/2return_codes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h index 89b2fcff..c03ba7ac 100644 --- a/firmware/2lib/include/2return_codes.h +++ b/firmware/2lib/include/2return_codes.h @@ -766,6 +766,9 @@ enum vb2_return_code { /* Requested locale not available */ VB2_ERROR_UI_INVALID_LOCALE = 0x100c0006, + /* Memory allocation failure */ + VB2_ERROR_UI_MEMORY_ALLOC = 0x100c0007, + /********************************************************************** * Errors generated by host library (non-firmware) start here. */ |