aboutsummaryrefslogtreecommitdiffstats
path: root/src/fw/csm.c
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/fw/csm.c
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/fw/csm.c')
-rw-r--r--src/fw/csm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fw/csm.c b/src/fw/csm.c
index 8359bcba..74069028 100644
--- a/src/fw/csm.c
+++ b/src/fw/csm.c
@@ -19,7 +19,7 @@
#include "std/acpi.h" // RSDP_SIGNATURE
#include "std/bda.h" // struct bios_data_area_s
#include "std/optionrom.h" // struct rom_header
-#include "util.h" // copy_smbios
+#include "util.h" // copy_smbios_21
#define UINT8 u8
#define UINT16 u16
@@ -172,8 +172,8 @@ handle_csm_0002(struct bregs *regs)
// SMBIOS table needs to be copied into the f-seg
// XX: OVMF doesn't seem to set SmbiosTableLength so don't check it
- if (csm_boot_table->SmbiosTable && !SMBiosAddr)
- copy_smbios((void *)csm_boot_table->SmbiosTable);
+ if (csm_boot_table->SmbiosTable && !SMBios21Addr)
+ copy_smbios_21((void *)csm_boot_table->SmbiosTable);
// MPTABLE is just there; we don't care where.