Min:
  I suggest to add it into OvmfPkg/Library/PlatformInitLib/IntelTdx.c as the 
internal implementation. 

Thanks
Liming
> -----邮件原件-----
> 发件人: [email protected] <[email protected]> 代表 Min Xu
> 发送时间: 2022年3月15日 15:12
> 收件人: [email protected]; Gao, Liming <[email protected]>
> 抄送: 'Brijesh Singh' <[email protected]>; Dong, Eric
> <[email protected]>; Aktas, Erdem <[email protected]>; Wu, Hao
> A <[email protected]>; Wang, Jian J <[email protected]>; 'James
> Bottomley' <[email protected]>; Yao, Jiewen <[email protected]>;
> Kinney, Michael D <[email protected]>; Ni, Ray <[email protected]>;
> Kumar, Rahul1 <[email protected]>; 'Tom Lendacky'
> <[email protected]>; Liu, Zhiguang <[email protected]>;
> 'Gerd Hoffmann' <[email protected]>
> 主题: Re: [edk2-devel] [PATCH V8 00/47] Enable Intel TDX in OvmfPkg
> (Config-A)
> 
> On March 15, 2022 11:55 AM, Gao Liming wrote:
> > Min:
> >   As Jiewen mentions, EFI_RESOURCE_MEMORY_UNACCEPTED will be in
> next
> > public spec. So, it can't be added now.
> >
> >   I suggest to add edk2 definition for this type in MdeModulePkg first, such
> as
> > EDKII_RESOURCE_MEMORY_UNACCEPTED. It can be removed after new
> spec is
> > published.
> >
> Thanks for the comments. In the patch
> EFI_RESOURCE_MEMORY_UNACCEPTED was defined in
> MdePkg/Include/Pi/PiHob.h.
> I check the MdeModulePkg/Include but don't find some proper header files
> for this definition.
> 
> Or can we define EFI_RESOURCE_MEMORY_UNACCEPTED in
> OvmfPkg/Library/PlatformInitLib/IntelTdx.c?
> In current stage all the unaccepted memory passed from host VMM are all
> accepted in OvmfPkg/Library/PlatformInitLib/IntelTdx.c. After that these
> unaccepted memory hob are transferred to private memory hob. So currently
> EFI_RESOURCE_MEMORY_UNACCEPTED is only seen in above IntelTdx.c.
> 
> [TDVF] Sec 7.3.1 defines the unaccepted memory resource HOB for DXE
> phase. But this is for the lazy-accept feature which will be implemented in 
> the
> future.
> 
> What's your suggestion?
> 
> [TDVF]
> https://www.intel.com/content/dam/develop/external/us/en/documents/td
> x-virtual-firmware-design-guide-rev-1.01.pdf
> 
> Thanks
> Min
> 
> 
> 
> 





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#87641): https://edk2.groups.io/g/devel/message/87641
Mute This Topic: https://groups.io/mt/89836301/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to