diff options
author | Ben Frisch <bfrisch@gmail.com> | 2015-05-09 19:52:18 -0500 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-07-07 08:23:33 +0200 |
commit | 72af5d79f9f66e59533f00b58b4cc528658c904b (patch) | |
tree | 464fe2d1e8da9f83ccb8a3c7c6f1cac00e0120f0 /util/crossgcc/buildgcc | |
parent | f6dde95e8722bf8b5cfbba9469f3aabea3a593ab (diff) | |
download | coreboot-72af5d79f9f66e59533f00b58b4cc528658c904b.tar.xz |
smbios: Calculate SMBIOS Max Struct size
The SMBIOS Specification 2.3 and up defines Maximum Structure Size
as the "Size of the largest SMBIOS structure, in bytes, and encompasses
the structure’s formatted area and text strings." The hardcoded size
is too small to accurately represent the maximum SMBIOS structure sizes.
While the field is not used by Linux it is used by some RTOS
implementations, eg. VxWorks.
TEST=Booted Linux and ran github.com/bfrisch/dmidecode which verified
the maximum structure size on Minnowboard Max.
Change-Id: I98087975c53a02857742dea283f4e303485b2ffe
Signed-off-by: Ben Frisch <bfrisch@gmail.com>
Reviewed-on: http://review.coreboot.org/10163
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/crossgcc/buildgcc')
0 files changed, 0 insertions, 0 deletions