summaryrefslogtreecommitdiff
path: root/firmware/include/vboot_api.h
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2011-11-15 11:32:54 -0800
committerBill Richardson <wfrichar@chromium.org>2011-11-16 10:16:37 -0800
commit0d11efb0dc1d8d2b5eafdd5b65bce82e73fdeecc (patch)
treeee208585907e306de64b32d061acce4408fd269d /firmware/include/vboot_api.h
parent6a6f85d6bbfb640aadb92521befe3188e99a3d02 (diff)
downloadvboot-0d11efb0dc1d8d2b5eafdd5b65bce82e73fdeecc.tar.gz
Add VB_INIT_OUT_ENABLE_ALTERNATE_OS flag
This adds a flag to the list of values returned by VbInit(). When this flag is set, the BIOS may be asked to boot something other than ChromeOS. If this requires some sort of special preparation, the BIOS should do it. BUG=chromium-os:22454 TEST=none There is no test for this. It requires a change to the BIOS in order to do anything differently, and we haven't yet decided whether the BIOS should pay attention to it. Change-Id: I5d89e7cd5b745ee74b8ace7fa613c0db03eebefd Reviewed-on: https://gerrit.chromium.org/gerrit/11714 Tested-by: Bill Richardson <wfrichar@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'firmware/include/vboot_api.h')
-rw-r--r--firmware/include/vboot_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h
index ffc0c412..b9f9f4a6 100644
--- a/firmware/include/vboot_api.h
+++ b/firmware/include/vboot_api.h
@@ -186,6 +186,8 @@ typedef struct VbCommonParams {
#define VB_INIT_OUT_S3_DEBUG_BOOT 0x00000010
/* BIOS should load any PCI option ROMs it finds, not just internal video */
#define VB_INIT_OUT_ENABLE_OPROM 0x00000020
+/* BIOS may be asked to boot something other than ChromeOS */
+#define VB_INIT_OUT_ENABLE_ALTERNATE_OS 0x00000040
/* Data only used by VbInit() */