Subject: Re: The spagetti that is arm32/machdep.c
To: None <rjs@fdy2.demon.co.uk>
From: Matt Thomas <matt@3am-software.com>
List: port-arm
Date: 06/07/2001 09:49:45
At 05:42 PM 6/7/2001 +0100, Robert Swindells wrote:

> >These ndefs are really a pain, IMO we need to get rid of them.  Even
> >worse, I can't see how FOOTBRIDGE and the type of console we want is even
> >related.
>
>I think that footbridge builds are the only ones that can use a serial
>console.

Nope.  dnard & netwinder also have serial consoles.

>It is implemented in the wrong way IMHO though.
>
>There is an implementation of consinit() in
>arm32/footbridge/ebsa_machdep.c that doesn't make use of a constab
>array.

constab is evil and is depriciated; if you can directly figure out
what the console is.

> >In this case, I think we should move all the consinit code out of this
> >file and into one of its own (controlled by files.* adding the file as
> >required for a configuration).  I think this would entirely eliminate the
> >dependency of this file on FOOTBRIDGE, SHARK or vidc.
>
>You get my vote.

I did this for the dnard & netwinder ports.
--
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message