summaryrefslogtreecommitdiff
path: root/host/include/cgpt_params.h
diff options
context:
space:
mode:
authorMatt Delco <delco@chromium.org>2018-08-02 11:50:06 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-08-15 16:37:30 -0700
commit0c274a902539249db7e11d019dadfa0cbae1fd74 (patch)
tree490258b98281abfec39acfd7b554d532dd8ea46b /host/include/cgpt_params.h
parent0f1de7b5fe7b4dbe12ed544ee7e0ae064393e898 (diff)
downloadvboot-stabilize-10985.B.tar.gz
This change adds a command to cgpt to change the GUID of the drive. BRANCH=none BUG=None TEST=Compiled and ran utility to verify that GUID changes. Also verified that the new and existing tests completed successfully. Change-Id: Ia8a815447509626312e2b06c6f293901290c73c3 Signed-off-by: Matt Delco <delco@google.com> Reviewed-on: https://chromium-review.googlesource.com/1171834 Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'host/include/cgpt_params.h')
-rw-r--r--host/include/cgpt_params.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/host/include/cgpt_params.h b/host/include/cgpt_params.h
index 7c4a4b29..5bd1f76a 100644
--- a/host/include/cgpt_params.h
+++ b/host/include/cgpt_params.h
@@ -48,6 +48,12 @@ typedef struct CgptAddParams {
int set_raw;
} CgptAddParams;
+typedef struct CgptEditParams {
+ char *drive_name;
+ Guid unique_guid;
+ int set_unique;
+} CgptEditParams;
+
typedef struct CgptShowParams {
char *drive_name;
uint64_t drive_size;