summaryrefslogtreecommitdiff
path: root/sys/amd64/include/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/include/cpu.h')
-rw-r--r--sys/amd64/include/cpu.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/amd64/include/cpu.h b/sys/amd64/include/cpu.h
index 12b7ef7d2c3ff..730b5b3654943 100644
--- a/sys/amd64/include/cpu.h
+++ b/sys/amd64/include/cpu.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)cpu.h 5.4 (Berkeley) 5/9/91
- * $Id: cpu.h,v 1.31 1997/08/18 06:58:29 charnier Exp $
+ * $Id: cpu.h,v 1.32 1997/08/21 06:32:48 charnier Exp $
*/
#ifndef _MACHINE_CPU_H_
@@ -48,6 +48,17 @@
#include <machine/segments.h>
/*
+ * Architecture dependent constant for i386 based machines.
+ */
+#ifdef PC98
+/* NEC PC-9801/9821 series and compatibles. */
+#define MACHINE_ARCH "pc-98"
+#else
+/* IBM-PC compatibles. */
+#define MACHINE_ARCH "ibm-pc"
+#endif
+
+/*
* definitions of cpu-dependent requirements
* referenced in generic code
*/