Hi Gerd, On Fri, Aug 26, 2022 at 07:27:17AM +0200, Gerd Hoffmann wrote: > Hi, > > > - if (TdIsEnabled ()) { > > + if (TdIsEnabled () || MemEncryptSevIsEnabled()) { > > I think you can just use CcProbeLib and CcProbe() function to cover both > tdx and sev. >
Thanks for your review and suggestion! It works to me. I will send version 2 patch. Joey Lee -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#92865): https://edk2.groups.io/g/devel/message/92865 Mute This Topic: https://groups.io/mt/93248346/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-