On Tue, Jan 25, 2022 at 02:33:15PM +0800, Min Xu wrote:
> RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429
> 
> OvmfPkg/IntelTdx/Sec is a simplied version of OvmfPkg/Sec. There
> are below differences between these 2 Sec
>  - IntelTdx/Sec only supports Legacy guest and Tdx guest.
>  - IntelTdx/Sec calls TdxStartup () to jump from SEC to DXE directly.
>  - IntelTdx/Sec only supports X64.
>  - IntelTdx/Sec uses MemoryAllocationLib / HobLib / PrePiLib in
>    EmbeddedPkg.

Quite some code duplication here ...

> +BspAcceptMemoryResourceRange (

> +ValidateHobList (

... and possibly more.

I think these functions should move to the new PlatformInitLib too.

take care,
  Gerd



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


Reply via email to