cleanup
To: Simon Burge <simonb@wasabisystems.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: port-mips
Date: 08/31/2001 08:22:40
On Fri, Aug 31, 2001 at 06:27:57PM +1000, Simon Burge wrote:
> Should it be necessary for some port to differ in the future, we could
> do something in a <machine/cpu.h> like:
>
> #define MACHINE_CPUINFO_EXTRAS int cpunum;
>
> #include <mips/cpu.h>
>
> and 'struct cpu_info' (in <mips/cpu.h>) could contain
>
> struct cpu_info {
> ...
> #ifdef MACHINE_CPUINFO_EXTRAS
> MACHINE_CPUINFO_EXTRAS
> #endif
> ...
> }
This is all good, because when we do MP MIPS support, all (MIPS) platforms
will have to pick up the cpu_info changes.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>