aboutsummaryrefslogtreecommitdiffstats
path: root/src/std/smbios.h
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2020-12-10 10:10:42 -0500
committerKevin O'Connor <kevin@koconnor.net>2021-12-18 11:39:12 -0500
commit97f6c5b0246225c5b5341e13af6e5578ccedb190 (patch)
tree461fb5df98675168453a5d8dddf91e58fc52b389 /src/std/smbios.h
parent7b02616560f908a2d34009d87ceed0306a851420 (diff)
downloadseabios-97f6c5b0246225c5b5341e13af6e5578ccedb190.tar.gz
smbios: Rename code specific for SMBIOS 2.1 entry points
Rename copy_smbios(), smbios_next(), SMBIOS_SIGNATURE, smbios_entry_point, and SMBiosAddr, to indicate they refer to SMBIOS 2.1 entry points. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'src/std/smbios.h')
-rw-r--r--src/std/smbios.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/std/smbios.h b/src/std/smbios.h
index 4ccf2ea3..17fdfed6 100644
--- a/src/std/smbios.h
+++ b/src/std/smbios.h
@@ -3,12 +3,12 @@
#include "types.h" // u32
-#define SMBIOS_SIGNATURE 0x5f4d535f // "_SM_"
+#define SMBIOS_21_SIGNATURE 0x5f4d535f // "_SM_"
/* SMBIOS entry point -- must be written to a 16-bit aligned address
between 0xf0000 and 0xfffff.
*/
-struct smbios_entry_point {
+struct smbios_21_entry_point {
u32 signature;
u8 checksum;
u8 length;