aboutsummaryrefslogtreecommitdiff
path: root/include/blk.h
diff options
context:
space:
mode:
authorMasahisa Kojima2021-10-26 17:27:25 +0900
committerHeinrich Schuchardt2021-10-26 21:32:46 +0200
commitce3dbc5d080de8045dd5e2b512cad75434ba4cf5 (patch)
tree914447046e0c0668321d7e749eeede4e2c0ccc47 /include/blk.h
parent3d49ee8510d38e7fd087c7250a3f4392a38bf0dd (diff)
efi_loader: add UEFI GPT measurement
This commit adds the UEFI GPT disk partition topology measurement required in TCG PC Client Platform Firmware Profile Specification Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Diffstat (limited to 'include/blk.h')
-rw-r--r--include/blk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/blk.h b/include/blk.h
index 19bab081c2c..f0cc7ca1a28 100644
--- a/include/blk.h
+++ b/include/blk.h
@@ -45,6 +45,9 @@ enum if_type {
#define BLK_PRD_SIZE 20
#define BLK_REV_SIZE 8
+#define PART_FORMAT_PCAT 0x1
+#define PART_FORMAT_GPT 0x2
+
/*
* Identifies the partition table type (ie. MBR vs GPT GUID) signature
*/