Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 2bdb08ab006a178305ee9da3883a30dda41290ae
https://github.com/tianocore/edk2/commit/2bdb08ab006a178305ee9da3883a30dda41290ae
Author: VarshitPandya <[email protected]>
Date: 2026-07-22 (Wed, 22 Jul 2026)
Changed paths:
M DynamicTablesPkg/Include/ArchCommonNameSpaceObjects.h
M
DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c
Log Message:
-----------
DynamicTablesPkg: Add Additional Information CM objects
Add the Configuration Manager objects required to describe SMBIOS
Additional Information (Type 40) structures.
The top-level object references a list of Additional Information entries.
Each entry identifies a field in an existing SMBIOS structure and
references a typed value object containing the additional data.
Define the maximum value buffer size from the SMBIOS Type 40 formatted
length limit and add parsers for the new CM objects.
Signed-off-by: Varshit Pandya <[email protected]>
Commit: b551e8bb32fa096cb985a0fa599995160474c8e9
https://github.com/tianocore/edk2/commit/b551e8bb32fa096cb985a0fa599995160474c8e9
Author: VarshitPandya <[email protected]>
Date: 2026-07-22 (Wed, 22 Jul 2026)
Changed paths:
M DynamicTablesPkg/DynamicTables.dsc.inc
M DynamicTablesPkg/DynamicTablesPkg.dec
A DynamicTablesPkg/Library/Smbios/SmbiosType40Lib/SmbiosType40Generator.c
A DynamicTablesPkg/Library/Smbios/SmbiosType40Lib/SmbiosType40Lib.inf
Log Message:
-----------
DynamicTablesPkg: Smbios Additional Information (Type 40)
Add a DynamicTables SMBIOS generator for the Additional Information
(Type 40) structure.
SMBIOS Type 40 provides additional information for fields in other
SMBIOS structures. Each Type 40 entry references an existing SMBIOS
record by handle and offset, provides an optional entry string, and
carries a supplemental field value.
The generator consumes one or more top-level CM objects, each referencing
a list of Additional Information entries. Each entry provides:
- the CM object token of the referenced SMBIOS structure,
- the referenced table generator ID,
- the offset of the referenced field,
- an optional entry string,
- a token to a typed Additional Information Value object.
Example platform CM object layout:
CM_ARCH_COMMON_ADDITIONAL_INFORMATION AdditionalInformation[] = {
{
REFERENCE_TOKEN (AdditionalInformation[0]),
REFERENCE_TOKEN (AdditionalInformationEntry[0])
}
};
CM_ARCH_COMMON_ADDITIONAL_INFORMATION_ENTRY
AdditionalInformationEntry[] = {
{
REFERENCE_TOKEN (MemoryDeviceInfo[0]),
CREATE_STD_SMBIOS_TABLE_GEN_ID (EStdSmbiosTableIdType17),
OFFSET_OF (SMBIOS_TABLE_TYPE17, MemoryType),
"DIMM0 memory type",
REFERENCE_TOKEN (AdditionalInformationValue[0])
}
};
CM_ARCH_COMMON_ADDITIONAL_INFORMATION_VALUE
AdditionalInformationValue[] = {
{
sizeof (UINT8),
{
MemoryTypeDram
}
}
};
The generator resolves referenced SMBIOS handles using CM object tokens
and table generator IDs. It validates the typed value objects, individual
entry lengths, and aggregate formatted record size. The maximum accepted
value length is controlled by PcdMaxAdditionalInformationValue.
Build the variable-length Type 40 formatted area and append the entry
strings to the SMBIOS string area.
Signed-off-by: Varshit Pandya <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/35345c76a978...b551e8bb32fa
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits