Add machdep file for procfs. Currently only used for linux-style

/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.
This commit is contained in:
fvdl 2001-01-17 00:07:18 +00:00
parent 0546607276
commit c7f1462f3e
66 changed files with 728 additions and 34 deletions

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:18 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.alpha,v 1.131 2001/01/01 23:43:06 mrg Exp $
# $NetBSD: files.alpha,v 1.132 2001/01/17 00:07:19 fvdl Exp $
#
# alpha-specific configuration info
@ -470,6 +470,7 @@ file arch/alpha/alpha/mainbus.c
file arch/alpha/alpha/mem.c
file arch/alpha/alpha/pmap.c
file arch/alpha/alpha/process_machdep.c
file arch/alpha/alpha/procfs_machdep.c procfs
file arch/alpha/alpha/prom.c
file arch/alpha/alpha/support.c
file arch/alpha/alpha/sys_machdep.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:19 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.amiga,v 1.100 2000/09/03 19:07:05 is Exp $
# $NetBSD: files.amiga,v 1.101 2001/01/17 00:07:20 fvdl Exp $
# maxpartitions must be first item in files.${ARCH}.newconf
maxpartitions 16 # NOTE THAT AMIGA IS SPECIAL!
@ -410,6 +410,7 @@ file arch/amiga/amiga/dkbad.c
file arch/amiga/amiga/machdep.c
file arch/amiga/amiga/mem.c
file arch/amiga/amiga/pmap.c
file arch/amiga/amiga/process_machdep.c procfs
file arch/amiga/amiga/sys_machdep.c
file arch/amiga/amiga/trap.c
file arch/amiga/amiga/vm_machdep.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:20 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.arc,v 1.26 2000/12/24 09:35:28 ur Exp $
# $NetBSD: files.arc,v 1.27 2001/01/17 00:07:20 fvdl Exp $
# $OpenBSD: files.arc,v 1.21 1999/09/11 10:20:20 niklas Exp $
#
# maxpartitions must be first item in files.${ARCH}
@ -19,6 +19,7 @@ file arch/arc/arc/bus_space.c
file arch/arc/arc/bus_space_sparse.c
file arch/arc/arc/bus_space_large.c
file arch/arc/arc/bus_dma.c
file arch/arc/arc/procfs_machdep.c procfs
file arch/arc/arc/wired_map.c
file arch/arc/arc/arcbios.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:20 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.arm26,v 1.16 2001/01/12 21:31:52 bjh21 Exp $
# $NetBSD: files.arm26,v 1.17 2001/01/17 00:07:21 fvdl Exp $
# Copyright (c) 1997, 1998, 2000 Ben Harris
# All rights reserved.
@ -232,6 +232,7 @@ file arch/arm26/arm26/machdep.c
file arch/arm26/arm26/mem.c
file arch/arm26/arm26/pmap.c
file arch/arm26/arm26/process_machdep.c
file arch/arm26/arm26/procfs_machdep.c procfs
#file arch/arm26/arm26/rscons.c
file arch/arm26/arm26/softintr.c
file arch/arm26/arm26/stubs.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:21 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.arm32,v 1.86 2001/01/12 21:31:53 bjh21 Exp $
# $NetBSD: files.arm32,v 1.87 2001/01/17 00:07:21 fvdl Exp $
#
# First try for arm-specific configuration info
#
@ -347,6 +347,7 @@ file arch/arm32/arm32/fault.c
file arch/arm32/arm32/undefined.c
file arch/arm32/arm32/mem.c
file arch/arm32/arm32/process_machdep.c
file arch/arm32/arm32/procfs_machdep.c procfs
file arch/arm32/arm32/machdep.c
file arch/arm32/arm32/sys_machdep.c
file arch/arm32/arm32/vm_machdep.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:22 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,5 +1,5 @@
#
# $NetBSD: files.atari,v 1.70 2000/11/21 13:34:57 tsutsui Exp $
# $NetBSD: files.atari,v 1.71 2001/01/17 00:07:22 fvdl Exp $
maxpartitions 16
@ -186,6 +186,7 @@ file arch/atari/atari/machdep.c
file arch/atari/atari/mainbus.c
file arch/atari/atari/mem.c
file arch/atari/atari/pmap.c
file arch/atari/atari/procfs_machdep.c procfs
file arch/atari/atari/sys_machdep.c
file arch/atari/atari/trap.c
file arch/atari/atari/stalloc.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:22 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.bebox,v 1.21 2000/11/08 19:48:52 ad Exp $
# $NetBSD: files.bebox,v 1.22 2001/01/17 00:07:22 fvdl Exp $
#
# First try for bebox specific configuration info
#
@ -13,6 +13,7 @@ file arch/bebox/bebox/conf.c
file arch/bebox/bebox/disksubr.c disk
file arch/bebox/bebox/extintr.c
file arch/bebox/bebox/machdep.c
file arch/bebox/bebox/procfs_machdep.c procfs
# General files
file dev/cons.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:23 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.cobalt,v 1.9 2000/11/26 17:44:08 ad Exp $
# $NetBSD: files.cobalt,v 1.10 2001/01/17 00:07:23 fvdl Exp $
maxpartitions 16
@ -34,6 +34,7 @@ file arch/cobalt/cobalt/conf.c
file arch/cobalt/cobalt/console.c
file arch/cobalt/cobalt/disksubr.c
file arch/cobalt/cobalt/machdep.c
file arch/cobalt/cobalt/procfs_machdep.c procfs
file dev/md_root.c memory_disk_hooks
major {md = 2}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.dreamcast,v 1.2 2001/01/16 00:33:50 marcus Exp $
# $NetBSD: files.dreamcast,v 1.3 2001/01/17 00:07:23 fvdl Exp $
#
# new style config file for sh3 architecture
#
@ -9,6 +9,7 @@ include "dev/wscons/files.wscons"
file arch/dreamcast/dreamcast/conf.c
file arch/dreamcast/dreamcast/machdep.c
file arch/dreamcast/dreamcast/procfs_machdep.c procfs
defopt opt_memsize.h IOM_ROM_BEGIN IOM_ROM_SIZE IOM_RAM_BEGIN IOM_RAM_SIZE
defopt opt_led_addr.h LED_ADDR

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:23 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.evbsh3,v 1.4 2000/03/25 02:51:57 msaitoh Exp $
# $NetBSD: files.evbsh3,v 1.5 2001/01/17 00:07:24 fvdl Exp $
#
# new style config file for sh3 architecture
#
@ -7,6 +7,7 @@ include "arch/evbsh3/conf/files.shbus"
file arch/evbsh3/evbsh3/conf.c
file arch/evbsh3/evbsh3/machdep.c
file arch/evbsh3/evbsh3/procfs_machdep.c procfs
defopt opt_memsize.h IOM_ROM_BEGIN IOM_ROM_SIZE IOM_RAM_BEGIN IOM_RAM_SIZE
defopt opt_led_addr.h LED_ADDR

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:24 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.hp300,v 1.43 2001/01/02 04:28:38 simonb Exp $
# $NetBSD: files.hp300,v 1.44 2001/01/17 00:07:24 fvdl Exp $
#
# hp300-specific configuration info
@ -196,6 +196,7 @@ file arch/hp300/hp300/leds.c useleds
file arch/hp300/hp300/mem.c
file arch/hp300/hp300/pmap.c
file arch/hp300/hp300/pmap_bootstrap.c compile-with "${NOPROF_C}"
file arch/hp300/hp300/procfs_machdep.c procfs
file arch/hp300/hp300/sys_machdep.c
file arch/hp300/hp300/trap.c
file arch/hp300/hp300/vm_machdep.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.3 2001/01/17 00:07:24 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.hpcmips,v 1.42 2000/10/22 10:42:31 uch Exp $
# $NetBSD: files.hpcmips,v 1.43 2001/01/17 00:07:25 fvdl Exp $
# maxpartitions must be first item in files.${ARCH}.
maxpartitions 8
@ -55,6 +55,7 @@ file arch/hpcmips/hpcmips/bus_space.c
file arch/hpcmips/hpcmips/bus_dma.c
file arch/hpcmips/hpcmips/disksubr.c disk
file arch/hpcmips/hpcmips/config_hook.c
file arch/hpcmips/hpcmips/procfs_machdep.c procfs
# Console autoconfiguration code: selects between a framebuffers
file dev/cons.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:25 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.i386,v 1.179 2000/12/18 20:38:27 jdolecek Exp $
# $NetBSD: files.i386,v 1.180 2001/01/17 00:07:25 fvdl Exp $
#
# new style config file for i386 architecture
#
@ -71,6 +71,7 @@ file arch/i386/i386/microtime.s
file netns/ns_cksum.c ns
file arch/i386/i386/pmap.c
file arch/i386/i386/process_machdep.c
file arch/i386/i386/procfs_machdep.c procfs
file arch/i386/i386/sys_machdep.c
file arch/i386/i386/syscall.c
file arch/i386/i386/trap.c

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.427 2001/01/09 03:45:49 enami Exp $ */
/* $NetBSD: machdep.c,v 1.428 2001/01/17 00:07:26 fvdl Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2000 The NetBSD Foundation, Inc.
@ -193,7 +193,9 @@ int dumpmem_low;
int dumpmem_high;
int boothowto;
int cpu_class;
int i386_fpu_present = 0;
int i386_fpu_present;
int i386_fpu_exception;
int i386_fpu_fdivbug;
#define CPUID2MODEL(cpuid) (((cpuid) >> 4) & 15)

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.3 2001/01/17 00:07:26 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,5 +1,5 @@
#
# $NetBSD: files.luna68k,v 1.3 2000/03/15 17:08:40 soren Exp $
# $NetBSD: files.luna68k,v 1.4 2001/01/17 00:07:27 fvdl Exp $
#
maxpartitions 8
maxusers 2 8 64
@ -14,6 +14,7 @@ file arch/luna68k/luna68k/machdep.c
file arch/luna68k/luna68k/mem.c
file arch/luna68k/luna68k/pmap.c
file arch/luna68k/luna68k/pmap_bootstrap.c
file arch/luna68k/luna68k/procfs_machdep.c procfs
file arch/luna68k/luna68k/sys_machdep.c
file arch/luna68k/luna68k/trap.c
file arch/luna68k/luna68k/vm_machdep.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:27 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.mac68k,v 1.96 2000/07/30 21:36:04 briggs Exp $
# $NetBSD: files.mac68k,v 1.97 2001/01/17 00:07:27 fvdl Exp $
# mac68k-specific configuration info
@ -163,6 +163,7 @@ file arch/mac68k/mac68k/pmap.c
file arch/mac68k/mac68k/pmap_bootstrap.c compile-with "${NOPROF_C}"
file arch/mac68k/mac68k/pram.c
file arch/mac68k/mac68k/pramasm.s
file arch/mac68k/mac68k/procfs_machdep.c procfs
file arch/mac68k/mac68k/psc.c
file arch/mac68k/mac68k/sys_machdep.c
file arch/mac68k/mac68k/trap.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:28 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.macppc,v 1.37 2000/11/15 00:39:32 matt Exp $
# $NetBSD: files.macppc,v 1.38 2001/01/17 00:07:28 fvdl Exp $
#
# macppc-specific configuration info
@ -18,6 +18,7 @@ file arch/macppc/macppc/conf.c
file arch/macppc/macppc/disksubr.c disk
file arch/macppc/macppc/extintr.c
file arch/macppc/macppc/machdep.c
file arch/macppc/macppc/procfs_machdep.c procfs
file arch/macppc/dev/dbdma.c
file dev/cons.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:28 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.mipsco,v 1.4 2000/10/03 09:38:20 wdk Exp $
# $NetBSD: files.mipsco,v 1.5 2001/01/17 00:07:28 fvdl Exp $
# MIPS Computer Corp -specific configuration info
@ -46,6 +46,7 @@ file dev/ic/z8530tty.c zstty needs-count
file arch/mipsco/mipsco/autoconf.c
file arch/mipsco/mipsco/conf.c
file arch/mipsco/mipsco/machdep.c
file arch/mipsco/mipsco/procfs_machdep.c procfs
file arch/mipsco/mipsco/mips_3x30.c
file arch/mipsco/mipsco/disksubr.c
file arch/mipsco/mipsco/mainbus.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:29 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.mmeye,v 1.2 2000/02/24 19:42:36 msaitoh Exp $
# $NetBSD: files.mmeye,v 1.3 2001/01/17 00:07:29 fvdl Exp $
#
# config file for mmeye
@ -6,5 +6,6 @@ include "arch/mmeye/conf/files.shbus"
file arch/mmeye/mmeye/conf.c
file arch/mmeye/mmeye/machdep.c
file arch/mmeye/mmeye/procfs_machdep.c procfs
defopt opt_memsize.h IOM_ROM_BEGIN IOM_ROM_SIZE IOM_RAM_BEGIN IOM_RAM_SIZE

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:29 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.mvme68k,v 1.41 2000/12/03 15:40:06 scw Exp $
# $NetBSD: files.mvme68k,v 1.42 2001/01/17 00:07:29 fvdl Exp $
# config file for mvme68k
@ -125,6 +125,7 @@ file arch/mvme68k/mvme68k/machdep.c
file arch/mvme68k/mvme68k/mem.c
file arch/mvme68k/mvme68k/pmap.c
file arch/mvme68k/mvme68k/pmap_bootstrap.c compile-with "${NOPROF_C}"
file arch/mvme68k/mvme68k/procfs_machdep.c procfs
file arch/mvme68k/mvme68k/softintr.c
file arch/mvme68k/mvme68k/sys_machdep.c
file arch/mvme68k/mvme68k/trap.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:30 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.news68k,v 1.9 2000/10/04 16:35:43 tsutsui Exp $
# $NetBSD: files.news68k,v 1.10 2001/01/17 00:07:30 fvdl Exp $
# NEWS68K-specific configuration info
@ -24,6 +24,7 @@ file arch/news68k/news68k/mainbus.c
file arch/news68k/news68k/mem.c
file arch/news68k/news68k/pmap.c
file arch/news68k/news68k/pmap_bootstrap.c compile-with "${NOPROF_C}"
file arch/news68k/news68k/procfs_machdep.c procfs
file arch/news68k/news68k/sys_machdep.c
file arch/news68k/news68k/trap.c
file arch/news68k/news68k/vm_machdep.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:30 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.newsmips,v 1.15 2000/11/15 14:29:40 tsubai Exp $
# $NetBSD: files.newsmips,v 1.16 2001/01/17 00:07:31 fvdl Exp $
# NEWSMIPS-specific configuration info
@ -96,6 +96,7 @@ file arch/newsmips/newsmips/news5000.c ap
file arch/newsmips/newsmips/disksubr.c
file arch/newsmips/newsmips/mainbus.c
file arch/newsmips/newsmips/cpu_cons.c
file arch/newsmips/newsmips/procfs_machdep.c procfs
file dev/clock_subr.c
file dev/cons.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:31 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.next68k,v 1.17 2000/09/29 06:33:37 deberg Exp $
# $NetBSD: files.next68k,v 1.18 2001/01/17 00:07:31 fvdl Exp $
# next68k-specific configuration info
@ -41,6 +41,7 @@ file arch/next68k/next68k/trap.c
file arch/next68k/next68k/mem.c
file arch/next68k/next68k/pmap.c
file arch/next68k/next68k/pmap_bootstrap.c
file arch/next68k/next68k/procfs_machdep.c procfs
file arch/next68k/next68k/vm_machdep.c
file arch/next68k/next68k/machdep.c
file arch/next68k/next68k/clock.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:31 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.ofppc,v 1.10 2000/03/14 15:56:57 oster Exp $
# $NetBSD: files.ofppc,v 1.11 2001/01/17 00:07:32 fvdl Exp $
#
# First try for ofppc-specific configuration info
#
@ -11,6 +11,7 @@ file arch/ofppc/ofppc/clock.c
file arch/ofppc/ofppc/conf.c
file arch/ofppc/ofppc/disksubr.c disk
file arch/ofppc/ofppc/machdep.c
file arch/ofppc/ofppc/procfs_machdep.c procfs
file dev/cons.c
file dev/cninit.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:32 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.pc532,v 1.43 2000/03/14 15:56:57 oster Exp $
# $NetBSD: files.pc532,v 1.44 2001/01/17 00:07:32 fvdl Exp $
#
# new style config file for pc532 architecture
#
@ -68,6 +68,7 @@ file arch/pc532/pc532/machdep.c
file arch/pc532/pc532/mem.c
file arch/pc532/pc532/pmap.c
file arch/pc532/pc532/process_machdep.c
file arch/pc532/pc532/procfs_machdep.c procfs
file arch/pc532/pc532/sys_machdep.c
file arch/pc532/pc532/trap.c
file arch/pc532/pc532/vm_machdep.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:32 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.pmax,v 1.91 2001/01/16 04:34:47 thorpej Exp $
# $NetBSD: files.pmax,v 1.92 2001/01/17 00:07:33 fvdl Exp $
# DECstation-specific configuration info
# maxpartitions must be first item in files.${ARCH}.
@ -224,6 +224,7 @@ file arch/pmax/pmax/conf.c
file arch/pmax/pmax/disksubr.c
file arch/pmax/pmax/machdep.c
file arch/pmax/pmax/mainbus.c
file arch/pmax/pmax/procfs_machdep.c procfs
file arch/pmax/pmax/promcall.c
file arch/pmax/pmax/sysconf.c
file arch/pmax/stand/common/callvec.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:33 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.prep,v 1.13 2001/01/05 17:49:43 tsutsui Exp $
# $NetBSD: files.prep,v 1.14 2001/01/17 00:07:36 fvdl Exp $
#
# prep-specific configuration info
#
@ -14,6 +14,7 @@ file arch/prep/prep/conf.c
file arch/prep/prep/disksubr.c disk
file arch/prep/prep/extintr.c
file arch/prep/prep/machdep.c
file arch/prep/prep/procfs_machdep.c procfs
file dev/clock_subr.c
file dev/cons.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:36 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.sgimips,v 1.7 2000/11/26 17:44:10 ad Exp $
# $NetBSD: files.sgimips,v 1.8 2001/01/17 00:07:36 fvdl Exp $
maxpartitions 16
@ -61,6 +61,7 @@ file arch/sgimips/sgimips/conf.c
file arch/sgimips/sgimips/console.c
file arch/sgimips/sgimips/disksubr.c
file arch/sgimips/sgimips/machdep.c
file arch/sgimips/sgimips/procfs_machdep.c procfs
file dev/md_root.c memory_disk_hooks
major {md = 2}

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:36 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:37 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.sparc,v 1.99 2000/11/14 11:34:51 kleink Exp $
# $NetBSD: files.sparc,v 1.100 2001/01/17 00:07:37 fvdl Exp $
# @(#)files.sparc 8.1 (Berkeley) 7/19/93
# sparc-specific configuration info
@ -232,6 +232,7 @@ file arch/sparc/sparc/mem.c
file arch/sparc/sparc/promlib.c
file arch/sparc/sparc/openfirm.c
file arch/sparc/sparc/openprom.c
file arch/sparc/sparc/procfs_machdep.c procfs
file arch/sparc/sparc/pmap.c
# the following overrides the generic "sys_process.c"
# commented out by deraadt

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:37 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.sparc64,v 1.41 2000/11/10 16:05:40 eeh Exp $
# $NetBSD: files.sparc64,v 1.42 2001/01/17 00:07:38 fvdl Exp $
# @(#)files.sparc64 8.1 (Berkeley) 7/19/93
# sparc64-specific configuration info
@ -202,6 +202,7 @@ file arch/sparc64/sparc64/kgdb_machdep.c kgdb
file arch/sparc64/sparc64/locore2.c
file arch/sparc64/sparc64/machdep.c
file arch/sparc64/sparc64/process_machdep.c
file arch/sparc64/sparc64/procfs_machdep.c procfs
file arch/sparc64/sparc64/mem.c
file arch/sparc64/sparc64/openprom.c
file arch/sparc64/sparc64/openfirm.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:38 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.sun3,v 1.58 2000/11/03 05:52:42 tsutsui Exp $
# $NetBSD: files.sun3,v 1.59 2001/01/17 00:07:38 fvdl Exp $
#
# sun3-specific configuration info
@ -40,6 +40,7 @@ file arch/sun3/sun3/fpu.c
file arch/sun3/sun3/isr.c
file arch/sun3/sun3/kgdb_machdep.c kgdb
file arch/sun3/sun3/leds.c
file arch/sun3/sun3/procfs_machdep.c procfs
file arch/sun3/sun3/stub.c
file arch/sun3/sun3/sunmon.c
file arch/sun3/sun3/sys_machdep.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:38 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.vax,v 1.77 2000/12/02 17:15:37 ragge Exp $
# $NetBSD: files.vax,v 1.78 2001/01/17 00:07:39 fvdl Exp $
#
# new style config file for vax architecture
#
@ -363,6 +363,7 @@ file arch/vax/vax/udiv.s
file arch/vax/vax/trap.c
file arch/vax/vax/bus_dma.c
file arch/vax/vax/bus_mem.c
file arch/vax/vax/procfs_machdep.c procfs
file arch/vax/vax/sgmap.c
file arch/vax/vax/vm_machdep.c
file arch/vax/vax/findcpu.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:39 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}

View File

@ -1,4 +1,4 @@
# $NetBSD: files.x68k,v 1.35 2001/01/11 16:09:42 minoura Exp $
# $NetBSD: files.x68k,v 1.36 2001/01/17 00:07:39 fvdl Exp $
#
# new style config file for x68k architecture
#
@ -34,6 +34,7 @@ file arch/x68k/x68k/machdep.c
file arch/x68k/x68k/mem.c
file arch/x68k/x68k/pmap_bootstrap.c compile-with "${NOPROF_C}"
file arch/x68k/x68k/pmap.c
file arch/x68k/x68k/procfs_machdep.c procfs
file arch/x68k/x68k/sys_machdep.c
file arch/x68k/x68k/trap.c
file arch/x68k/x68k/vm_machdep.c

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2001/01/17 00:07:39 fvdl Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <miscfs/procfs/procfs.h>
/*
* Linux-style /proc/cpuinfo.
* Only used when procfs is mounted with -o linux.
*/
int
procfs_getcpuinfstr(char *buf, int *len)
{
*len = 0;
return 0;
}