summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include/biosvar.h
diff options
context:
space:
mode:
authorGordon Willem Klok <gwk@cvs.openbsd.org>2006-05-08 22:51:19 +0000
committerGordon Willem Klok <gwk@cvs.openbsd.org>2006-05-08 22:51:19 +0000
commit43f20e0647ff9d1b9f6f333dca641dc01587e7ca (patch)
tree2749242ff1e683c88f4323fa995c1e5eeb99a750 /sys/arch/amd64/include/biosvar.h
parentb4b9ffec62bebe163253a5cefcea185cd4bbae23 (diff)
Add smbios support for i386 and amd64, fix ipmi to use this new functionallity,
hook up some sysctls to add system vendor/product/version and UUID reporting. "get it in" deraadt@
Diffstat (limited to 'sys/arch/amd64/include/biosvar.h')
-rw-r--r--sys/arch/amd64/include/biosvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/biosvar.h b/sys/arch/amd64/include/biosvar.h
index b4bc59108bd..94a67ffad78 100644
--- a/sys/arch/amd64/include/biosvar.h
+++ b/sys/arch/amd64/include/biosvar.h
@@ -1,5 +1,5 @@
/* XXX - DSR */
-/* $OpenBSD: biosvar.h,v 1.5 2005/12/13 23:13:45 mickey Exp $ */
+/* $OpenBSD: biosvar.h,v 1.6 2006/05/08 22:51:18 gwk Exp $ */
/*
* Copyright (c) 1997-1999 Michael Shalayeff
@@ -42,6 +42,7 @@
#define BIOSF_BIOS32 0x0001
#define BIOSF_PCIBIOS 0x0002
#define BIOSF_PROMSCAN 0x0004
+#define BIOSF_SMBIOS 0x0006
/* BIOS media ID */
#define BIOSM_F320K 0xff /* floppy ds/sd 8 spt */
@@ -110,6 +111,7 @@ struct bios32_entry {
((a) | ((b) << 8) | ((c) << 16) | ((d) << 24))
#define BIOS32_SIGNATURE BIOS32_MAKESIG('_', '3', '2', '_')
#define PCIBIOS_SIGNATURE BIOS32_MAKESIG('$', 'P', 'C', 'I')
+#define SMBIOS_SIGNATURE BIOS32_MAKESIG('_', 'S', 'M', '_')
/*
* CTL_BIOS definitions.