edk2/DynamicTablesPkg/Include/Library
Girish Mahadevan cf8227204e DynamicTablesPkg/SmbiosStringTableLib: Add AllocateSmbiosRecord helper
Add AllocateSmbiosRecord() to SmbiosStringTableLib to encapsulate the
SMBIOS spec Section 6.1.3 string-area termination rule. Callers pass
the fixed structure size and an optional string table; the function
appends the correct string area (two-byte double-NULL when no strings
are present, or the full string set size from
StringTableGetStringSetSize() when strings exist).

This removes the need for each generator to open-code the double-NULL
or manually compute the string area size.

Signed-off-by: Girish Mahadevan <gmahadevan@nvidia.com>
Signed-off-by: Varshit Pandya <varshit.pandya@arm.com>
2026-06-05 14:23:55 +00:00
..
AmlLib DynamicTablesPkg/AmlLib: Add AmlMethodParamTypeBuffer support 2026-05-25 10:29:48 +00:00
AcpiHelperLib.h DynamicTablesPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
CmObjHelperLib.h DynamicTablesPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
DynamicPlatRepoLib.h DynamicTablesPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
DynamicTablesScmiInfoLib.h DynamicTablesPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
HwInfoParserLib.h DynamicTablesPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
MetadataHandlerLib.h DynamicTablesPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
MetadataObjLib.h DynamicTablesPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
SmbiosSmcLib.h DynamicTablesPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
SmbiosStringTableLib.h DynamicTablesPkg/SmbiosStringTableLib: Add AllocateSmbiosRecord helper 2026-06-05 14:23:55 +00:00
SsdtPcieSupportLib.h DynamicTablesPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
SsdtSerialPortFixupLib.h DynamicTablesPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
TableHelperLib.h DynamicTablesPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
Tpm2DeviceTableLib.h DynamicTablesPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00