This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: SH4 HAL
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: jeffc at logicpd dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: 29 Jul 2004 08:52:16 +0100
- Subject: Re: [ECOS] SH4 HAL
- References: <200407281609.25645.jeffc@logicpd.com>
Jeff Cooper <jeffc@logicpd.com> writes:
> I'm working on a eCos port to the SH7760 (SH4) and I just noticed that the
> following include files are duplicates from the SH3 archicture HAL. The
> register addresses changed between CPU's:
> mod_regs_dma.h
> mod_regs_pfc.h
> mod_regs_rtc.h
>
> I'm working from the current CVS source.
>
> Has anyone else found and fixed this? If not, I'll make a patch and submit
> it, but I didn't want to duplicate work.
>
These files were probably copied over when the SH4 HAL was cloned from
the SH3 one. Since eCos makes no use of these devices, the fact that
the addresses were bogus was probably never noticed.
A patch to fix this would be welcome. Take a look at
http://ecos.sourceware.org/ecos/patches.html for how to do it.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss