Subject: procfs_machdep.c
To: None <fvdl@netbsd.org>
From: None <itojun@iijlab.net>
List: tech-kern
Date: 01/17/2001 09:33:47
>Module Name: syssrc
>Committed By: fvdl
>Date: Wed Jan 17 00:07:40 UTC 2001
(snip)
>Added Files:
> syssrc/sys/arch/alpha/alpha: procfs_machdep.c
> syssrc/sys/arch/amiga/amiga: procfs_machdep.c
> syssrc/sys/arch/arc/arc: procfs_machdep.c
(snip)
>Log Message:
>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.
does it need to be port dependent ($MACHINE), or CPU architecture
dependent ($MACHINE_CPU)? it looks like the former as you didn't
add it for sys/arch/mips. i'm asking this, as you have added it into
sys/arch/sh3, which is CPU directory like mips (and wondering if i
should remove it)
itojun