Re: 回复: [PATCH V4 1/3] MdePkg: Introduce CcMeasurementProtocol for CC Guest firmware

Min Xu

On November 5, 2021 1:20 PM, Gao Liming wrote:
On November 4, 2021 1:51 PM, Gao, Liming wrote:
I have one minor comment. gEfiCcFinalEventsTableGuid may be placed
[Guids] section instead of [Protocols] section.
Hi, Liming
I follow the definition of gEfiTcg2ProtocolGuid and
gEfiTcg2FinalEventsTableGuid. See
Actually gEfiCcMeasurementProtocolGuid and gEfiCcFinalEventsTableGuid
are the counterpart protocol/guid definition in Confidential Computing
measure boot.
I am not sure if there is some other consideration that gEfiTcg2ProtocolGuid
and gEfiTcg2FinalEventsTableGuid are defined in the section of [Protocols].
I find gEfiTcg2FinalEventsTableGuid is used for configuration table. This is one
Guid usage.
It should be placed into [Guids] section.

You can see hash protocol and hash algorithm guid in MdePkg.
gEfiHashProtocolGuid is defined in [Protocols] section, and
gEfiHashAlgorithmMD5Guid is defined in [Guids] section. They are both from

So, I suggest to follow the guid usage to define this Guid into the different
Thanks for the reminder. I agree with you that gEfiTcg2FinalEventsTableGuid should go to [Guids] section.
It will be fixed in the next version.


Join { to automatically receive all group messages.