Subject: Re: procfs_machdep.c
To: Frank van der Linden <fvdl@vaasje.org>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: tech-kern
Date: 01/16/2001 16:53:14
In message <20010117013550.A5269@vaasje.org>Frank van der Linden writes:
>On Wed, Jan 17, 2001 at 09:33:47AM +0900, itojun@iijlab.net wrote:
>> 
>> 	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)
>
>I meant it to be port dependent, so the addition to sh3 was a mistake.
>Although it can probably be shared between various ports with the
>same CPU eventually.

Why not make it arch-dependent? Shouldn't a linux-emul /proc
work the same way on all mips machines, modulo endian-ness?
Even if there are mips3 dependencies, i can't think why it shouldn't
work on all mips(el)3 machines -- e.g. mips3 decstations.
They can all run the same Linux/arc binaries, right?

Does Linux /proc on Amigas do something different on Amigas
than on other 68k machines?

>Anyway feel free to remove it from sh3.