CTL_MACHDEP definitions are integrated into sh3/include/cpu.h again.

This commit is contained in:
uch 2002-03-04 14:36:13 +00:00
parent 0995897f47
commit 2f603eaa17
5 changed files with 18 additions and 68 deletions

View File

@ -1,18 +1,3 @@
/* $NetBSD: cpu.h,v 1.2 2002/03/03 14:28:49 uch Exp $ */
#ifndef _DREAMCAST_CPU_H_
#define _DREAMCAST_CPU_H_
/* $NetBSD: cpu.h,v 1.3 2002/03/04 14:36:13 uch Exp $ */
#include <sh3/cpu.h>
/*
* CTL_MACHDEP definitions.
*/
#define CPU_CONSDEV 1 /* dev_t: console terminal device */
#define CPU_MAXID 2 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "console_device", CTLTYPE_STRUCT }, \
}
#endif /* _DREAMCAST_CPU_H_ */

View File

@ -1,19 +1,3 @@
/* $NetBSD: cpu.h,v 1.4 2002/03/03 14:28:50 uch Exp $ */
#ifndef _EVBSH3_CPU_H_
#define _EVBSH3_CPU_H_
/* $NetBSD: cpu.h,v 1.5 2002/03/04 14:36:14 uch Exp $ */
#include <sh3/cpu.h>
/*
* CTL_MACHDEP definitions.
*/
#define CPU_CONSDEV 1 /* dev_t: console terminal device */
#define CPU_LOADANDRESET 2 /* load kernel image and reset */
#define CPU_MAXID 3 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "console_device", CTLTYPE_STRUCT }, \
{ "load_and_reset", CTLTYPE_INT }, \
}
#endif /* _EVBSH3_CPU_H_ */

View File

@ -1,18 +1,3 @@
/* $NetBSD: cpu.h,v 1.3 2002/03/03 14:28:50 uch Exp $ */
#ifndef _HPCSH_CPU_H_
#define _HPCSH_CPU_H_
/* $NetBSD: cpu.h,v 1.4 2002/03/04 14:36:14 uch Exp $ */
#include <sh3/cpu.h>
/*
* CTL_MACHDEP definitions.
*/
#define CPU_CONSDEV 1 /* dev_t: console terminal device */
#define CPU_MAXID 2 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "console_device", CTLTYPE_STRUCT }, \
}
#endif /* _HPCSH_CPU_H_ */

View File

@ -1,20 +1,3 @@
/* $NetBSD: cpu.h,v 1.4 2002/03/03 14:28:50 uch Exp $ */
/* $NetBSD: cpu.h,v 1.5 2002/03/04 14:36:15 uch Exp $ */
#ifndef _MMEYE_CPU_H_
#define _MMEYE_CPU_H_
#include <sh3/cpu.h>
/*
* CTL_MACHDEP definitions.
*/
#define CPU_CONSDEV 1 /* dev_t: console terminal device */
#define CPU_LOADANDRESET 2 /* load kernel image and reset */
#define CPU_MAXID 3 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "console_device", CTLTYPE_STRUCT }, \
{ "set_priv_proc", CTLTYPE_INT }, \
{ "load_and_reset", CTLTYPE_INT }, \
}
#endif /* !_MMEYE_CPU_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.21 2002/03/03 14:28:51 uch Exp $ */
/* $NetBSD: cpu.h,v 1.22 2002/03/04 14:36:16 uch Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -179,4 +179,17 @@ void savectx(struct pcb *);
void dumpsys(void);
#endif /* _KERNEL */
/*
* CTL_MACHDEP definitions.
*/
#define CPU_CONSDEV 1 /* dev_t: console terminal device */
#define CPU_LOADANDRESET 2 /* load kernel image and reset */
#define CPU_MAXID 3 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "console_device", CTLTYPE_STRUCT }, \
{ "load_and_reset", CTLTYPE_INT }, \
}
#endif /* !_SH3_CPU_H_ */