Subject: Re: bouyer-xenamd64 merged
To: Masao Uebayashi <uebayasi@gmail.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 11/23/2007 13:29:49
On Fri, Nov 23, 2007 at 09:22:41PM +0900, Masao Uebayashi wrote:
> > IMO, the code needs a lot of cleanup. Personally I don't like the tons of
> >
> > #ifdef XEN
> > ...
> > #else
> > ...
> > #endif
> >
> > blocks. A few of them are ok, but they are too numerous now.
>
> #ifdef's that switches by models make code hard to understand. I'd
> want to see #ifdef's by features (#ifdef HAS_FOO and #ifdef IS_BAR)
> even in MD code. IMHO.
But XEN is a feature :)
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
NetBSD: 26 ans d'experience feront toujours la difference
--