mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 02:05:01 +00:00
vboot: GPT interface cleanup
- Rename drive_sectors to streaming_drive_sectors, to contrast with gpt_drive_sectors - Replace stored_on_device field with flags field for future extensibility BUG=chromium:433433 TEST=make runtests BRANCH=none Change-Id: I785a3b735b8eb96f647a334659329db3ee43eb80 Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/234283 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
cfe83a827d
commit
b3d38f5c62
@@ -90,8 +90,9 @@ int CheckParameters(GptData* gpt);
|
||||
*
|
||||
* Returns 0 if header is valid, 1 if invalid.
|
||||
*/
|
||||
int CheckHeader(GptHeader *h, int is_secondary, uint64_t drive_sectors,
|
||||
uint64_t gpt_drive_sectors, uint8_t stored_on_device);
|
||||
int CheckHeader(GptHeader *h, int is_secondary,
|
||||
uint64_t streaming_drive_sectors,
|
||||
uint64_t gpt_drive_sectors, uint32_t flags);
|
||||
|
||||
/**
|
||||
* Calculate and return the header CRC.
|
||||
|
||||
Reference in New Issue
Block a user