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

Min Xu min.m.xu at intel.com
Fri Nov 5 06:22:51 UTC 2021


On November 5, 2021 1:20 PM, Gao Liming wrote:
> > On November 4, 2021 1:51 PM, Gao, Liming wrote:
> > > Min:
> > >   I have one minor comment. gEfiCcFinalEventsTableGuid may be placed
> > into
> > > [Guids] section instead of [Protocols] section.
> > >
> > Hi, Liming
> > I follow the definition of gEfiTcg2ProtocolGuid and
> > gEfiTcg2FinalEventsTableGuid. See
> > https://github.com/tianocore/edk2/blob/master/MdePkg/MdePkg.dec#L159
> > 0-L1592
> > 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
> MdePkg/Include/Protocol/Hash.h.
> 
> So, I suggest to follow the guid usage to define this Guid into the different
> section.
> 
Thanks for the reminder. I agree with you that gEfiTcg2FinalEventsTableGuid should go to [Guids] section. 
It will be fixed in the next version.

Thanks
Min


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#83370): https://edk2.groups.io/g/devel/message/83370
Mute This Topic: https://groups.io/mt/86834978/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list