powerpc-rtems-4.7-gcc-4.0 patch commited
Joel Sherrill <joel@OARcorp.com>
joel.sherrill at OARcorp.com
Fri Feb 18 12:29:59 UTC 2005
Sergei Organov wrote:
> Ralf Corsepius <ralf.corsepius at rtems.org> writes:
>
> [...]
>
>
>>E.g. the m8260 would be superflous, if it could be removed from cpukit.
>>The code it uses is _identical_ to the 603e, except of 1 define in
>>cpukit.
>
>
> Well, which one of the following 8 do you mean? Or am I missing
> something?
>
> cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h:180: || defined(mpc860) || defined(mpc821) || defined(mpc8260))
> cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h:192: || defined(mpc860) || defined(mpc821) || defined(mpc8260))
> cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h:204: || defined(mpc860) || defined(mpc821) || defined(mpc8260))
> cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h:216: || defined(mpc860) || defined(mpc821) || defined(mpc8260))
> cpukit/score/cpu/powerpc/rtems/score/powerpc.h:211:#elif defined(mpc8260)
> cpukit/score/cpu/powerpc/rtems/score/powerpc.h:461:#elif defined(mpc8260)
> cpukit/score/cpu/powerpc/rtems/score/cpu.h:407: || defined(mpc860) || defined(mpc821) || defined(mpc8260))
> cpukit/score/cpu/powerpc/rtems/score/cpu.h:436: || defined(mpc860) || defined(mpc821) || defined(mpc8260))
>
Most of those are related to having configuration info for drivers in
libcpu and could easily be defined in libcpu.
There is a PPC_INTERRUPTS_MAX which still remains to be addressed.
Ralf.. I think the the MIPS defines that in libcpu as a variable used by
the cpukit.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list