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/tdx-virtual-firmware-design-guide-rev-1.01.pdf Thanks Min -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#87564): https://edk2.groups.io/g/devel/message/87564 Mute This Topic: https://groups.io/mt/89793054/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-