Re: [edk2-devel] [PATCH V3 2/8] OvmfPkg: Add PrePiHobListPointerLibTdx

2022-02-23 Thread Gerd Hoffmann
On Sun, Feb 20, 2022 at 10:33:13AM +0800, Min Xu wrote: > RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 > > This library sets / gets the Hob list pointer in TDX_WORK_AREA. > This is because it is designed to be used in SEC where the value of > global variable cannot be saved, so the Hob

[edk2-devel] [PATCH V3 2/8] OvmfPkg: Add PrePiHobListPointerLibTdx

2022-02-19 Thread Min Xu
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 This library sets / gets the Hob list pointer in TDX_WORK_AREA. This is because it is designed to be used in SEC where the value of global variable cannot be saved, so the Hob list pointer is saved in TDX_WORK_AREA. TDX_WORK_AREA shares the