diff options
Diffstat (limited to 'cgpt')
-rw-r--r-- | cgpt/cgpt.h | 1 | ||||
-rw-r--r-- | cgpt/cgpt_common.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cgpt/cgpt.h b/cgpt/cgpt.h index 3f117bba..322f1e26 100644 --- a/cgpt/cgpt.h +++ b/cgpt/cgpt.h @@ -76,6 +76,7 @@ int GuidEqual(const Guid *guid1, const Guid *guid2); int IsZero(const Guid *guid); /* Constant global type values to compare against */ +extern const Guid guid_chromeos_firmware; extern const Guid guid_chromeos_kernel; extern const Guid guid_chromeos_rootfs; extern const Guid guid_linux_data; diff --git a/cgpt/cgpt_common.c b/cgpt/cgpt_common.c index 90cd8b60..a5a509b1 100644 --- a/cgpt/cgpt_common.c +++ b/cgpt/cgpt_common.c @@ -558,6 +558,7 @@ int UTF8ToUTF16(const uint8_t *utf8, uint16_t *utf16, unsigned int maxoutput) } /* global types to compare against */ +const Guid guid_chromeos_firmware = GPT_ENT_TYPE_CHROMEOS_FIRMWARE; const Guid guid_chromeos_kernel = GPT_ENT_TYPE_CHROMEOS_KERNEL; const Guid guid_chromeos_rootfs = GPT_ENT_TYPE_CHROMEOS_ROOTFS; const Guid guid_linux_data = GPT_ENT_TYPE_LINUX_DATA; @@ -570,6 +571,7 @@ static struct { char *name; char *description; } supported_types[] = { + {&guid_chromeos_firmware, "firmware", "ChromeOS firmware"}, {&guid_chromeos_kernel, "kernel", "ChromeOS kernel"}, {&guid_chromeos_rootfs, "rootfs", "ChromeOS rootfs"}, {&guid_linux_data, "data", "Linux data"}, |