Just to clarify below: #define EFI_RESOURCE_MEMORY_UNACCEPTED 0x00000007
This is proposed in https://github.com/microsoft/mu_basecore/pull/66/files#diff-b20a11152d1ce9249c691be5690b4baf52069efadf2e2546cdd2eb663d80c9e4R237, according to UEFI-Code-First. The proposal was approved in 2021 in UEFI Mantis, and will be added to the new PI.next specification. Thank you Yao Jiewen > -----Original Message----- > From: Xu, Min M <min.m...@intel.com> > Sent: Tuesday, March 1, 2022 2:40 PM > To: devel@edk2.groups.io; Gao, Liming <gaolim...@byosoft.com.cn> > Cc: 'Brijesh Singh' <brijesh.si...@amd.com>; Dong, Eric <eric.d...@intel.com>; > Aktas, Erdem <erdemak...@google.com>; Wu, Hao A <hao.a...@intel.com>; > Wang, Jian J <jian.j.w...@intel.com>; 'James Bottomley' <j...@linux.ibm.com>; > Yao, Jiewen <jiewen....@intel.com>; Kinney, Michael D > <michael.d.kin...@intel.com>; Ni, Ray <ray...@intel.com>; Kumar, Rahul1 > <rahul1.ku...@intel.com>; 'Tom Lendacky' <thomas.lenda...@amd.com>; Liu, > Zhiguang <zhiguang....@intel.com>; 'Gerd Hoffmann' <kra...@redhat.com> > Subject: RE: [edk2-devel] [PATCH V7 00/37] Enable Intel TDX in OvmfPkg > (Config-A) > > On March 1, 2022 10:20 AM, Gao Liming wrote: > > > > Min: > > I have two comments in MdePkg. The changes in MdeModulePkg are good > > to me. > > 1. Seemly, new APIs (TdCall, TdVmCall, TdIsEnabled) in BaseLib are X86 > > specific. How about define them in #if defined (MDE_CPU_IA32) || defined > > (MDE_CPU_X64) in BaseLib.h? > Sure. It will be updated in the next version. > > > 2. I don't find new resource attribute EFI_RESOURCE_ATTRIBUTE_ENCRYPTED > > in the latest PI PI_Spec_1_7_A_final_May1.pdf. Can you let me know which > > spec defines it? > EFI_RESOURCE_ATTRIBUTE_ENCRYPTED is deprecated. According to [TDVF] > Table 7-1 private memory is distinguished with Unaccepted Memory by > ResourceType (Private Mem is EFI_RESOURCE_SYSTEM_MEMORY, Unaccepted > Mem is EFI_RESOURCE_MEMORY_UNACCEPTED). There is a PR about > EFI_RESOURCE_MEMORY_UNACCEPTED and the PR is approved. > https://github.com/microsoft/mu_basecore/pull/66 > So in the next version EFI_RESOURCE_ATTRIBUTE_ENCRYPTED will be deleted. > > Thanks > Min -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#87122): https://edk2.groups.io/g/devel/message/87122 Mute This Topic: https://groups.io/mt/89470838/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-