This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SH4 HAL


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]