mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
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> |
||
|---|---|---|
| .. | ||
| AmlLib | ||
| AcpiHelperLib.h | ||
| CmObjHelperLib.h | ||
| DynamicPlatRepoLib.h | ||
| DynamicTablesScmiInfoLib.h | ||
| HwInfoParserLib.h | ||
| MetadataHandlerLib.h | ||
| MetadataObjLib.h | ||
| SmbiosSmcLib.h | ||
| SmbiosStringTableLib.h | ||
| SsdtPcieSupportLib.h | ||
| SsdtSerialPortFixupLib.h | ||
| TableHelperLib.h | ||
| Tpm2DeviceTableLib.h | ||