Subject: Re: Xen: uname -mp: i386/i386 -> i386/xen?
To: None <bouyer@antioche.lip6.fr>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-kern
Date: 05/07/2004 21:24:48
In article <20040507121420.GA15114@antioche.lip6.fr>
bouyer@antioche.lip6.fr wrote:

> > - arch/i386 directory contains both MACHINE_ARCH specific and
> >   MACHINE specific files.
> >   (this makes it difficult to integrate other i386-based ports)
> Well, there is arch/x86 now. Things are getting better :)

It might be better, but not enough.
arch/i386 still contains both MACHINE and MACHINE_ARCH specific stuff.
The ideal solution is to rename i386 port (which is for PC-AT compatibles)
to some other name.

> > - Many 3rd party apprications for i386 assume MACHINE == MACHINE_ARCH
> >   because uname(3) returns MACHINE, not MACHINE_ARCH.
> >   (i.e. there are few binary apps for m68k)
> you're talking about binary-only apps here, right ?

Yes, most of them are for Linux one, though.
(BTW, how does POSIX define about uname(3)?)
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp