summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/cpu.h
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1997-08-30 02:52:04 +0000
committerkato <kato@FreeBSD.org>1997-08-30 02:52:04 +0000
commitcca63e4f094182ea869d9882624d193900487f17 (patch)
treedfc2d88ee72ac3d8e548d164597c076fa833e600 /sys/amd64/include/cpu.h
parent09489fa1b7b34378a6a036ea8f2526fe21469e65 (diff)
downloadFreeBSD-src-cca63e4f094182ea869d9882624d193900487f17.zip
FreeBSD-src-cca63e4f094182ea869d9882624d193900487f17.tar.gz
Move MACHINE_ARCH definition from <machine/param.h> to <machine/cpu.h>.
Submitted by: Bruce Evans <bde@zeta.org.au>
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 12b7ef7..730b5b3 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
*/
OpenPOWER on IntegriCloud