summaryrefslogtreecommitdiffstats
path: root/qemu/roms/seabios/src/std/smbios.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/seabios/src/std/smbios.h')
-rw-r--r--qemu/roms/seabios/src/std/smbios.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qemu/roms/seabios/src/std/smbios.h b/qemu/roms/seabios/src/std/smbios.h
index 05137167a..4ccf2ea34 100644
--- a/qemu/roms/seabios/src/std/smbios.h
+++ b/qemu/roms/seabios/src/std/smbios.h
@@ -3,11 +3,13 @@
#include "types.h" // u32
+#define SMBIOS_SIGNATURE 0x5f4d535f // "_SM_"
+
/* SMBIOS entry point -- must be written to a 16-bit aligned address
between 0xf0000 and 0xfffff.
*/
struct smbios_entry_point {
- char anchor_string[4];
+ u32 signature;
u8 checksum;
u8 length;
u8 smbios_major_version;