aboutsummaryrefslogtreecommitdiffstats
path: root/src/fw/csm.c
diff options
context:
space:
mode:
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.