Move MACHINE_ARCH definition from <machine/param.h> to <machine/cpu.h>.
Submitted by: Bruce Evans <bde@zeta.org.au>
This commit is contained in:
parent
59ed83fa92
commit
673592ad96
@ -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_
|
||||
@ -47,6 +47,17 @@
|
||||
#include <machine/frame.h>
|
||||
#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
|
||||
|
@ -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_
|
||||
@ -47,6 +47,17 @@
|
||||
#include <machine/frame.h>
|
||||
#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
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)param.h 5.8 (Berkeley) 6/28/91
|
||||
* $Id: param.h,v 1.38 1997/08/29 09:02:40 kato Exp $
|
||||
* $Id: param.h,v 1.39 1997/08/29 11:01:14 kato Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_PARAM_H_
|
||||
@ -52,17 +52,6 @@
|
||||
#endif
|
||||
#define MID_MACHINE MID_I386
|
||||
|
||||
/*
|
||||
* 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
|
||||
|
||||
#ifndef LOCORE
|
||||
|
||||
/*
|
||||
|
@ -37,7 +37,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)kern_sysctl.c 8.4 (Berkeley) 4/14/94
|
||||
* $Id: kern_mib.c,v 1.9 1997/06/25 07:31:47 joerg Exp $
|
||||
* $Id: kern_mib.c,v 1.10 1997/08/29 09:03:02 kato Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -47,6 +47,8 @@
|
||||
#include <sys/proc.h>
|
||||
#include <sys/unistd.h>
|
||||
|
||||
#include <machine/cpu.h>
|
||||
|
||||
SYSCTL_NODE(, 0, sysctl, CTLFLAG_RW, 0,
|
||||
"Sysctl internal magic");
|
||||
SYSCTL_NODE(, CTL_KERN, kern, CTLFLAG_RW, 0,
|
||||
|
Loading…
Reference in New Issue
Block a user