> > Can't you create something in MdePkg/Library/Baselib and then use it
> > everywhere it's needed?
> > 
> Do you mean put the basic Tdx functions in MdePkg/Library/BaseLib? If that is 
> the case, then I would add below basic Tdx functions in BaseLib:
>  - TdIsEnabled ()
>  - TdCall ()
>  - TdVmCall ()

That is the cpuid-based check and the asm code for td calls, correct?

> Gerd, what's your thought?

Looks fine to me.

take care,
  Gerd



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


Reply via email to