summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKun Qin <kuqin12@gmail.com>2022-06-27 16:24:45 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-06-23 16:28:24 +0000
commit7c703f0a8a21216a4065953d783a9f6ef28747e9 (patch)
tree9384d3b577dd6a9ba9fa37c04091ab7a41133392
parente7667b7b9ab8b1abc505c4a00dbcbcc22818fea3 (diff)
downloadedk2-7c703f0a8a21216a4065953d783a9f6ef28747e9.tar.gz
edk2-7c703f0a8a21216a4065953d783a9f6ef28747e9.tar.bz2
edk2-7c703f0a8a21216a4065953d783a9f6ef28747e9.zip
MdePkg: PiStatusCode: Add TPM subclass definition to MdePkg
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3966 This change introduces a new peripheral subclass definition from PI specification v1.8. The new subclass definition will cover system reboot events under the status reports from Trusted Platform Modules (TPMs). These definition could provide helpful datapoints to OEMs to analyze system security state and healthiness, as well as avoid definition collision with other existing peripheral subclass definitions. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Signed-off-by: Kun Qin <kuqin12@gmail.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
-rw-r--r--MdePkg/Include/Pi/PiStatusCode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdePkg/Include/Pi/PiStatusCode.h b/MdePkg/Include/Pi/PiStatusCode.h
index 3222a082c5..6675431611 100644
--- a/MdePkg/Include/Pi/PiStatusCode.h
+++ b/MdePkg/Include/Pi/PiStatusCode.h
@@ -363,6 +363,7 @@ typedef struct {
#define EFI_PERIPHERAL_LCD_DEVICE (EFI_PERIPHERAL | 0x000B0000)
#define EFI_PERIPHERAL_NETWORK (EFI_PERIPHERAL | 0x000C0000)
#define EFI_PERIPHERAL_DOCKING (EFI_PERIPHERAL | 0x000D0000)
+#define EFI_PERIPHERAL_TPM (EFI_PERIPHERAL | 0x000E0000)
///@}
///