mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 10:14:55 +00:00
kernel flags: Pass back kernel premable flags in kparams
Kernel preamble flags are set by the signer for passing hints about the image. Read these flags from the preamble and pass it back to the caller in kparams structure. BUG=chrome-os-partner:35861 BRANCH=None TEST=Compiles and boots to kernel prompt for both CrOS image and bootimg. Change-Id: I07a8b974dcf3ab5cd93d26a752c989d268c8da99 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://chromium-review.googlesource.com/245951 Reviewed-by: Bill Richardson <wfrichar@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Commit-Queue: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
committed by
ChromeOS Commit Bot
parent
80e779d50b
commit
b7d1f03e36
@@ -335,6 +335,8 @@ typedef struct VbSelectAndLoadKernelParams {
|
||||
uint32_t bootloader_size;
|
||||
/* UniquePartitionGuid for boot partition */
|
||||
uint8_t partition_guid[16];
|
||||
/* Flags passed in by signer */
|
||||
uint32_t flags;
|
||||
/*
|
||||
* TODO: in H2C, all that pretty much just gets passed to the
|
||||
* bootloader as KernelBootloaderOptions, though the disk handle is
|
||||
|
||||
Reference in New Issue
Block a user