Subject: Re: shell scripts in an emulation environment
To: None <is@jocelyn.rhein.de>
From: Gordon W. Ross <gwr@mc.com>
List: tech-kern
Date: 01/29/1998 17:15:43
> From: Ignatios Souvatzis <is@jocelyn.rhein.de>
> Date: Thu, 29 Jan 1998 21:37:09 +0100 (MET)
> hw.machine = amiga
> hw.model = DraCo rev.4 (68060 rev.1 CPU/MMU/FPU)
> hw.ncpu = 1
> hw.byteorder = 4321
> hw.physmem = 41943040
> hw.usermem = 37412864
> hw.pagesize = 8192
> hw.machine_arch = m68k
>
> you mean, sysctl hw.cpumodel (which doesn't exist yet)?
>
> We need this natively, btw. There are, depending on application class,
> at least three sorts of 68k cpus we'd like to support (which is of
> similar importance as the sun4/sun4c/sun4d/sun4m/sun4u distinction
> to normal userland applications):
>
> 64bit intmuldiv expensive FP in HW
> -m68020/030 yes yes
> -m68040 yes no
> -m68060 no no
>
> ... not even thinking about FPU-less machines.
I'd like to see separate sysctl fields for:
Kernel architecture: (sun4 sun4c sun4m ... sun3 sun3x ...)
CPU identifier: (as you wanted: 68020 68030 68040 ...)
FPU identifier: (68040 68881 68882 ...)
Model can stay as it is. I'm not sure what names for the
above would be most easily understood...