On Fri, Jan 20, 2023 at 08:10:45AM +0000, Yao, Jiewen wrote: > > Can we define FV_HANDOFF_TABLE_POINTERS2 and FV_HANDOFF_TABLE_POINTERS2 in > > MdePkg/Include/IndustryStandard/UefiTcgPlatform.h? > > [Jiewen] No. We cannot move to MdePkg. > TCG defines the field to be variable length. Something like below: > > typedef struct { > UINT8 TableDescriptionSize; > UINT8 TableDescription[TableDescriptionSize]; > UINT64 NumberOfTables; > EFI_CONFIGURATION_TABLE TableEntry[NumberOfTables]; > } HANDOFF_TABLE_POINTERS2; > > typedef struct { > UINT8 BlobDescriptionSize; > UINT8 BlobDescription[BlobDescriptionSize]; > EFI_PHYSICAL_ADDRESS BlobBase; > UINT64 BlobLength; > } HANDOFF_TABLE_POINTERS2; > > The implementation can choose its own length as they wish.
Why doesn't follow TDX standard TCG practices here? take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98918): https://edk2.groups.io/g/devel/message/98918 Mute This Topic: https://groups.io/mt/96370898/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-