Subject: Re: de-RISCPC'ing arm[32]
To: None <matt@3am-software.com>
From: Ben Harris <bjh21@netbsd.org>
List: port-arm32
Date: 04/05/2001 12:14:42
In article <4.3.2.7.2.20010404091906.02e0b4a8@3am-software.com> you write:
>I find that a significant portion of the ARM32 files
>used RISCPC specific includes which aren't really needed
>for non-RISCPC ports.  The generic arm files should never
>include them.

Agreed.  I've tried to ensure this as I've moved files into sys/arch/arm.

>arm/mainbus/cpu.c needs to be split out into an arm/arm/cpu.c
>and an arm/mainbus/cpu_mainbus.c.  Not all ports will have a
>mainbus (dnard won't) and so they will need to attach from
>other buses (ofbus in the dnard case).

That sounds sensible.  In fact, I'm far from certain that mainbus belongs in
sys/arch/arm at all.

Eventually, cpu.c should be usable by arm26 as well, along with the cpufunc
stuff.

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>