This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Driver with 2 EMAC and HAL_DCACHE_FLUSH(addr,size)
- From: Andrew Lunn <andrew at lunn dot ch>
- To: mkhoyila at uci dot edu
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 24 Aug 2005 09:19:28 +0200
- Subject: Re: [ECOS] Driver with 2 EMAC and HAL_DCACHE_FLUSH(addr,size)
- References: <62585.63.87.1.243.1124859533.squirrel@webmail.uci.edu>
On Tue, Aug 23, 2005 at 09:58:53PM -0700, mkhoyila@uci.edu wrote:
> Gentlemen
>
> Again thanks for your support. Unfortunately I am using efforts that has
> been done using eCos 2.0.
>
> 1) So, I need a function that does Cache write back and invalidate. Any
> Help is appreciated.
You have two simple options:
1) Upgrade to anonymous CVS which has the cache macros fixed.
2) Backport the cache code from anoncvs to your ancient eCos 2.0
sources.
> 2) I am moving to supporting 2 EMAC network driver. does any one has
> sample code how to setup the structures and accomplish this? or any help
> in this regard.
I should also point out that networking has some problems in eCos 2.0...
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss