On Thu, Oct 14, 2021 at 06:31:30AM +0000, Xu, Min M wrote:
> On October 14, 2021 2:05 PM, Gerd Hoffmann wrote:
> > On Thu, Oct 14, 2021 at 12:27:13AM +0000, Xu, Min M wrote:
> > > On October 12, 2021 6:32 PM, Gerd Hoffman wrote:
> > > >   Hi,
> > > >
> > > > > +  do {
> > > > > +    AsmCpuid (0, &LargestEax, &Ebx, &Ecx, &Edx);
> > > >
> > > > Again: this should use PCD.
> > > ConfidentialComputing PCD is set in PlatformPei. So any check of this PCD
> > should be after PlatformPei.
> > 
> > Can we move that to the SEC phase?
> PCD cannot be set in SEC phase.

Hmm, ok.  Can we have a helper function for that in TdxLib for sec and
pei then, so this check doesn't need to be cut+pasted to various places?

thanks,
  Gerd



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#81967): https://edk2.groups.io/g/devel/message/81967
Mute This Topic: https://groups.io/mt/86085743/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to