On 8/24/2023 3:41 AM, Isaku Yamahata wrote:
On Fri, Aug 18, 2023 at 05:50:16AM -0400,
Xiaoyao Li <xiaoyao.li@xxxxxxxxx> wrote:
Add UEFI definitions for literals, enums, structs, GUIDs, etc... that
will be used by TDX to build the UEFI Hand-Off Block (HOB) that is passed
to the Trusted Domain Virtual Firmware (TDVF).
All values come from the UEFI specification and TDVF design guide. [1]
Note, EFI_RESOURCE_MEMORY_UNACCEPTED will be added in future UEFI spec.
[1] https://software.intel.com/content/dam/develop/external/us/en/documents/tdx-virtual-firmware-design-guide-rev-1.pdf
Nitpick: The specs [1] [2] include unaccepted memory.
EfiUnacceptedMemoryType shows in UEFI spec while
EFI_RESOURCE_MEMORY_UNACCEPTED is still missing in PI spec.
https://github.com/tianocore/edk2/commit/00bbb1e584ec05547159f405cca383e8ba5e4ddb
[1] UEFI Specification Version 2.10 (released August 2022)
[2] UEFI Platform Initialization Distribution Packaging Specification Version 1.1)