Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(935)

Unified Diff: vboot_firmware/include/load_kernel_fw.h

Issue 2681003: Added recovery-mode return code to LoadKernel() (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vboot_firmware/include/load_kernel_fw.h
diff --git a/vboot_firmware/include/load_kernel_fw.h b/vboot_firmware/include/load_kernel_fw.h
index f4c512a60d910b700b151af003f6b0b9bbb583a2..77e5d50c1c79281f5c541dacff5dedc79b44ca1e 100644
--- a/vboot_firmware/include/load_kernel_fw.h
+++ b/vboot_firmware/include/load_kernel_fw.h
@@ -14,9 +14,10 @@
/* Interface provided by verified boot library to BDS */
/* Return codes for LoadKernel() */
-#define LOAD_KERNEL_SUCCESS 0
-#define LOAD_KERNEL_NOT_FOUND 1
-#define LOAD_KERNEL_INVALID 2
+#define LOAD_KERNEL_SUCCESS 0 /* Success; good kernel found on device */
+#define LOAD_KERNEL_NOT_FOUND 1 /* No kernel found on device */
+#define LOAD_KERNEL_INVALID 2 /* Only invalid kernels found on device */
+#define LOAD_KERNEL_RECOVERY 3 /* Internal error; reboot to recovery mode */
/* Boot modes for LoadKernel() */
#define BOOT_MODE_NORMAL 0
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698