Hey We should use same GUID for Tcg2Protocol and TrEEProtocol. Both of them are well defined in industry standard, and with different protocol version.
-----Original Message----- From: Qiu, Shumin Sent: Friday, August 14, 2015 4:07 PM To: [email protected] Cc: Qiu, Shumin; Yao, Jiewen Subject: [PATCH] MdePkg: Fix the duplicated protocol GUID. Tcg2Protocl and TrEEProtocol use the same GUID value. Cc: Yao Jiewen <[email protected]> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin <[email protected]> --- MdePkg/Include/Protocol/Tcg2Protocol.h | 2 +- MdePkg/MdePkg.dec | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/Protocol/Tcg2Protocol.h b/MdePkg/Include/Protocol/Tcg2Protocol.h index 0bda105..69221a2 100644 --- a/MdePkg/Include/Protocol/Tcg2Protocol.h +++ b/MdePkg/Include/Protocol/Tcg2Protocol.h @@ -20,7 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <IndustryStandard/Tpm20.h> #define EFI_TCG2_PROTOCOL_GUID \ - {0x607f766c, 0x7455, 0x42be, { 0x93, 0x0b, 0xe4, 0xd7, 0x6d, 0xb2, 0x72, 0x0f }} + {0x35509ddb, 0x7523, 0x407e, { 0x9e, 0x23, 0xef, 0xd4, 0xc4, 0x45, + 0x57, 0xea }} typedef struct tdEFI_TCG2_PROTOCOL EFI_TCG2_PROTOCOL; diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index 64dc5f9..c91ccb4 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -1363,7 +1363,8 @@ gEfiTrEEProtocolGuid = {0x607f766c, 0x7455, 0x42be, { 0x93, 0x0b, 0xe4, 0xd7, 0x6d, 0xb2, 0x72, 0x0f }} ## Include/Protocol/Tcg2Protocol.h - gEfiTcg2ProtocolGuid = {0x607f766c, 0x7455, 0x42be, { 0x93, 0x0b, 0xe4, 0xd7, 0x6d, 0xb2, 0x72, 0x0f }} + gEfiTcg2ProtocolGuid = {0x35509ddb, 0x7523, 0x407e, { 0x9e, 0x23, 0xef, 0xd4, 0xc4, 0x45, 0x57, 0xea }} + gEfiTcg2FinalEventsTableGuid = {0x1e2ed096, 0x30e2, 0x4254, { 0xbd, 0x89, 0x86, 0x3b, 0xbe, 0xf8, 0x23, 0x25 }} ## Include/Protocol/FormBrowser2.h -- 1.9.5.msysgit.1 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

