Remove CTL_MACHDEP_NAMES, it's not used anywhere.

Ok by martin@.
This commit is contained in:
xtraeme 2008-02-27 18:26:15 +00:00
parent ee2a294e04
commit f402cadf9a
21 changed files with 21 additions and 171 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.72 2007/10/17 19:52:58 garbled Exp $ */
/* $NetBSD: cpu.h,v 1.73 2008/02/27 18:26:15 xtraeme Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@ -277,17 +277,6 @@ do { \
#define CPU_FP_SYNC_COMPLETE 7 /* int: always fixup sync fp traps */
#define CPU_MAXID 8 /* 7 valid machdep IDs */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "console_device", CTLTYPE_STRUCT }, \
{ "root_device", CTLTYPE_STRING }, \
{ "unaligned_print", CTLTYPE_INT }, \
{ "unaligned_fix", CTLTYPE_INT }, \
{ "unaligned_sigbus", CTLTYPE_INT }, \
{ "booted_kernel", CTLTYPE_STRING }, \
{ "fp_sync_complete", CTLTYPE_INT }, \
}
#ifdef _KERNEL
struct pcb;

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.44 2008/01/22 12:41:38 joerg Exp $ */
/* $NetBSD: cpu.h,v 1.45 2008/02/27 18:26:15 xtraeme Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -371,17 +371,6 @@ void x86_bus_space_mallocok(void);
#define CPU_FPU_PRESENT 7 /* FPU is present */
#define CPU_MAXID 8 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "console_device", CTLTYPE_STRUCT }, \
{ "biosbasemem", CTLTYPE_INT }, \
{ "biosextmem", CTLTYPE_INT }, \
{ "nkpde", CTLTYPE_INT }, \
{ "booted_kernel", CTLTYPE_STRING }, \
{ "diskinfo", CTLTYPE_STRUCT }, \
{ "fpu_present", CTLTYPE_INT }, \
}
/*
* Structure for CPU_DISKINFO sysctl call.

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.69 2008/01/06 18:50:31 mhitch Exp $ */
/* $NetBSD: cpu.h,v 1.70 2008/02/27 18:26:15 xtraeme Exp $ */
/*
* Copyright (c) 1982, 1990 The Regents of the University of California.
@ -185,11 +185,6 @@ extern int machineid;
#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 }, \
}
#ifdef _KERNEL
/*
* Prototypes from amiga_init.c

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.51 2008/02/19 07:43:29 dogcow Exp $ */
/* $NetBSD: cpu.h,v 1.52 2008/02/27 18:26:15 xtraeme Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -60,15 +60,6 @@
#define CPU_POWERSAVE 5 /* int: use CPU powersave mode */
#define CPU_MAXID 6 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "debug", CTLTYPE_INT }, \
{ "booted_device", CTLTYPE_STRING }, \
{ "booted_kernel", CTLTYPE_STRING }, \
{ "console_device", CTLTYPE_STRUCT }, \
{ "powersave", CTLTYPE_INT }, \
}
#ifdef _KERNEL
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.60 2008/01/08 18:04:16 joerg Exp $ */
/* $NetBSD: cpu.h,v 1.61 2008/02/27 18:26:15 xtraeme Exp $ */
/*
* Copyright (c) 1982, 1990 The Regents of the University of California.
@ -203,11 +203,6 @@ extern int machineid;
#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 }, \
}
#ifdef _KERNEL
/*
* Prototypes from atari_init.c

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.20 2007/10/17 19:54:07 garbled Exp $ */
/* $NetBSD: cpu.h,v 1.21 2008/02/27 18:26:15 xtraeme Exp $ */
/*
* Copyright (c) 1982, 1990, 1993
@ -167,11 +167,6 @@ extern int astpending; /* need to trap before returning to user mode */
#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 }, \
}
#ifdef _KERNEL
#ifndef M68040

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.58 2008/01/28 16:21:20 tsutsui Exp $ */
/* $NetBSD: cpu.h,v 1.59 2008/02/27 18:26:15 xtraeme Exp $ */
/*
* Copyright (c) 1982, 1990, 1993
@ -178,11 +178,6 @@ extern int astpending; /* need to trap before returning to user mode */
#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 }, \
}
/*
* The rest of this should probably be moved to <machine/hp300spu.h>,
* although some of it could probably be put into generic 68k headers.

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.26 2008/02/03 12:09:41 skrll Exp $ */
/* $NetBSD: cpu.h,v 1.27 2008/02/27 18:26:15 xtraeme Exp $ */
/* $OpenBSD: cpu.h,v 1.20 2001/01/29 00:01:58 mickey Exp $ */
@ -264,11 +264,6 @@ int cpu_dump(void);
#define CPU_BOOTED_KERNEL 2 /* string: booted kernel name */
#define CPU_MAXID 3 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "console_device", CTLTYPE_STRUCT }, \
{ "booted_kernel", CTLTYPE_STRING }, \
}
#endif
#endif /* _MACHINE_CPU_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.163 2008/02/27 17:39:37 xtraeme Exp $ */
/* $NetBSD: cpu.h,v 1.164 2008/02/27 18:26:15 xtraeme Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -472,19 +472,6 @@ void x86_bus_space_mallocok(void);
#define CPU_SSE2 10 /* int: OS/CPU supports SSE2 */
#define CPU_MAXID 11 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "console_device", CTLTYPE_STRUCT }, \
{ "biosbasemem", CTLTYPE_INT }, \
{ "biosextmem", CTLTYPE_INT }, \
{ "booted_kernel", CTLTYPE_STRING }, \
{ "diskinfo", CTLTYPE_STRUCT }, \
{ "fpu_present", CTLTYPE_INT }, \
{ "osfxsr", CTLTYPE_INT }, \
{ "sse", CTLTYPE_INT }, \
{ "sse2", CTLTYPE_INT }, \
}
/*
* Structure for CPU_DISKINFO sysctl call.
* XXX this should be somewhere else.

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.24 2007/10/17 19:55:03 garbled Exp $ */
/* $NetBSD: cpu.h,v 1.25 2008/02/27 18:26:15 xtraeme Exp $ */
/*
* Copyright (c) 1982, 1990, 1993
@ -167,11 +167,6 @@ extern int astpending; /* need to trap before returning to user mode */
#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 }, \
}
/*
* Values for machtype
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: sysctl.h,v 1.1 1996/12/17 19:26:51 gwr Exp $ */
/* $NetBSD: sysctl.h,v 1.2 2008/02/27 18:26:15 xtraeme Exp $ */
/*
* CTL_MACHDEP definitions. (Common to all m68k ports.)
@ -12,11 +12,4 @@
#define CPU_BOOTED_KERNEL 3 /* string: booted kernel name */
#define CPU_MAXID 4 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "console_device", CTLTYPE_STRUCT }, \
{ "root_device", CTLTYPE_STRING }, \
{ "booted_kernel", CTLTYPE_STRING }, \
}
#endif /* CTL_MACHDEP_NAMES */

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.91 2008/02/19 07:43:29 dogcow Exp $ */
/* $NetBSD: cpu.h,v 1.92 2008/02/27 18:26:16 xtraeme Exp $ */
/*
* Copyright (c) 1982, 1990 The Regents of the University of California.
@ -181,11 +181,6 @@ extern int astpending; /* need to trap before returning to user mode */
#define CPU_CONSDEV 1
#define CPU_MAXID 2
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "console_device", CTLTYPE_STRUCT }, \
}
/* values for machineid --
* These are equivalent to the MacOS Gestalt values. */
#define MACH_MACII 6

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.88 2008/01/09 20:38:35 wiz Exp $ */
/* $NetBSD: cpu.h,v 1.89 2008/02/27 18:26:16 xtraeme Exp $ */
/*-
* Copyright (c) 1992, 1993
@ -112,13 +112,6 @@ do { \
#ifndef CPU_MAXID
#define CPU_MAXID 5 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "console_device", CTLTYPE_STRUCT }, \
{ "booted_kernel", CTLTYPE_STRING }, \
{ "root_device", CTLTYPE_STRING }, \
{ "llsc", CTLTYPE_INT }, \
}
#endif
#ifdef _KERNEL

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.41 2008/01/12 09:54:28 tsutsui Exp $ */
/* $NetBSD: cpu.h,v 1.42 2008/02/27 18:26:16 xtraeme Exp $ */
/*
* Copyright (c) 1982, 1990, 1993
@ -175,11 +175,6 @@ extern int astpending; /* need to trap before returning to user mode */
#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 }, \
}
#ifdef _KERNEL
/*
* Associate MVME models with CPU types.

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.32 2008/01/28 17:07:19 tsutsui Exp $ */
/* $NetBSD: cpu.h,v 1.33 2008/02/27 18:26:16 xtraeme Exp $ */
/*
* Copyright (c) 1982, 1990, 1993
@ -195,11 +195,6 @@ extern volatile u_char *ctrl_ast;
#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 }, \
}
#ifdef _KERNEL
#if defined(news1700) || defined(news1200)

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.62 2008/02/05 18:52:55 garbled Exp $ */
/* $NetBSD: cpu.h,v 1.63 2008/02/27 18:26:16 xtraeme Exp $ */
/*
* Copyright (C) 1999 Wolfgang Solfrank.
@ -393,16 +393,4 @@ void __syncicache(void *, size_t);
#define CPU_BOOTED_KERNEL 10 /* string: kernel we booted */
#define CPU_MAXID 11 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "cachelinesize", CTLTYPE_INT }, \
{ "timebase", CTLTYPE_INT }, \
{ "cputempature", CTLTYPE_INT }, \
{ "printfataltraps", CTLTYPE_INT }, \
{ "cacheinfo", CTLTYPE_STRUCT }, \
{ "altivec", CTLTYPE_INT }, \
{ "model", CTLTYPE_STRING }, \
{ "powersave", CTLTYPE_INT }, \
}
#endif /* _POWERPC_CPU_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.50 2008/01/07 05:00:12 uwe Exp $ */
/* $NetBSD: cpu.h,v 1.51 2008/02/27 18:26:16 xtraeme Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc. All rights reserved.
@ -217,12 +217,6 @@ do { \
#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 }, \
}
#ifdef _KERNEL
void sh_cpu_init(int, int);
void sh_startup(void);

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.83 2007/12/03 15:34:21 ad Exp $ */
/* $NetBSD: cpu.h,v 1.84 2008/02/27 18:26:16 xtraeme Exp $ */
/*
* Copyright (c) 1992, 1993
@ -52,14 +52,6 @@
#define CPU_ARCH 4 /* integer: cpu architecture version */
#define CPU_MAXID 5 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "booted_kernel", CTLTYPE_STRING }, \
{ "booted_device", CTLTYPE_STRING }, \
{ "boot_args", CTLTYPE_STRING }, \
{ "cpu_arch", CTLTYPE_INT }, \
}
#ifdef _KERNEL
/*
* Exported definitions unique to SPARC cpu support.

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.72 2008/02/22 10:55:00 martin Exp $ */
/* $NetBSD: cpu.h,v 1.73 2008/02/27 18:26:16 xtraeme Exp $ */
/*
* Copyright (c) 1992, 1993
@ -52,14 +52,6 @@
#define CPU_ARCH 4 /* integer: cpu architecture version */
#define CPU_MAXID 5 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "booted_kernel", CTLTYPE_STRING }, \
{ "booted_device", CTLTYPE_STRING }, \
{ "boot_args", CTLTYPE_STRING }, \
{ "cpu_arch", CTLTYPE_INT }, \
}
#ifdef _KERNEL
/*
* Exported definitions unique to SPARC cpu support.

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.83 2008/02/23 05:48:13 matt Exp $ */
/* $NetBSD: cpu.h,v 1.84 2008/02/27 18:26:16 xtraeme Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden
@ -44,14 +44,6 @@
#define CPU_BOOTED_KERNEL 4
#define CPU_MAXID 5
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "printfataltraps", CTLTYPE_INT }, \
{ "console_device", CTLTYPE_STRUCT }, \
{ "booted_device", CTLTYPE_STRING }, \
{ "booted_kernel", CTLTYPE_STRING }, \
}
#ifdef _KERNEL
#include <sys/cdefs.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.44 2007/10/17 19:58:03 garbled Exp $ */
/* $NetBSD: cpu.h,v 1.45 2008/02/27 18:26:16 xtraeme Exp $ */
/*
* Copyright (c) 1982, 1990, 1993
@ -178,11 +178,6 @@ extern int astpending; /* need to trap before returning to user mode */
#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 }, \
}
/*
* The rest of this should probably be moved to <machine/x68kcpu.h>
* although some of it could probably be put into generic 68k headers.