mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-25 02:35:22 +00:00
vboot: Move GPT entry operator functions to gpt_misc
This is to allow external entities using vboot library (e.g. depthcharge) to utilize these operator functions to perform get / set operations on GPT entry. BUG=chrome-os-partner:45670 BRANCH=None TEST=Compiles successfully "sudo emerge vboot_reference" "emerge-smaug vboot_reference". "make -j runtests" successful. Change-Id: I9e34a2a7afeae6293a78424794797d5755950888 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://chromium-review.googlesource.com/301475 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
300ff7ffdc
commit
5b202a94f0
@@ -138,15 +138,6 @@ void GptRepair(GptData *gpt);
|
||||
*/
|
||||
void GptModified(GptData *gpt);
|
||||
|
||||
/* Getters and setters for partition attribute fields. */
|
||||
|
||||
int GetEntrySuccessful(const GptEntry *e);
|
||||
int GetEntryPriority(const GptEntry *e);
|
||||
int GetEntryTries(const GptEntry *e);
|
||||
void SetEntrySuccessful(GptEntry *e, int successful);
|
||||
void SetEntryPriority(GptEntry *e, int priority);
|
||||
void SetEntryTries(GptEntry *e, int tries);
|
||||
|
||||
/**
|
||||
* Return 1 if the entry is a Chrome OS kernel partition, else 0.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user