summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/cpu.h
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1998-08-31 08:41:58 +0000
committerkato <kato@FreeBSD.org>1998-08-31 08:41:58 +0000
commit173369820ffebcaea03f21e11551083dda01b0fd (patch)
tree16c4b7356ea2313bd6e0106614e2234bcc10f3b9 /sys/amd64/include/cpu.h
parent6185272d7d0d6fcd90042bff942253302dab8a80 (diff)
downloadFreeBSD-src-173369820ffebcaea03f21e11551083dda01b0fd.zip
FreeBSD-src-173369820ffebcaea03f21e11551083dda01b0fd.tar.gz
- hw.machine_arch returns cpu architecture type.
- moved definition of MACHINE_ARCH from cpu.h to parm.h as alpha. - Added definitions of _MACHINE and _MACHINE_ARCH. - Added hw.ispc98. The hw.ispc98 is 1 in PC98 kernel and is 0 in IBM-PC kernel. Discussed with: John Birrell <jb@FreeBSD.ORG>
Diffstat (limited to 'sys/amd64/include/cpu.h')
-rw-r--r--sys/amd64/include/cpu.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/amd64/include/cpu.h b/sys/amd64/include/cpu.h
index 4b5e6e9..7b2ef5b 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.34 1997/10/27 17:23:02 bde Exp $
+ * $Id: cpu.h,v 1.35 1997/10/28 11:43:47 bde Exp $
*/
#ifndef _MACHINE_CPU_H_
@@ -48,17 +48,6 @@
#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