This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
AW: Broken macro definitions in hal_io.h
- From: "Koeller, T." <Thomas dot Koeller at baslerweb dot com>
- To: 'Gary Thomas' <gthomas at redhat dot com>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 21 May 2002 19:19:40 +0200
- Subject: AW: [ECOS] Broken macro definitions in hal_io.h
Gary Thomas wrote:
>
> On Sun, 2002-05-19 at 13:03, Thomas Koeller wrote:
> > Hi,
> >
> > the definitions for HAL_READ_UINT32_STRING and
> HAL_WRITE_UINT32_STRING
> > in hal/arm/arch/current/include/hal_io.h are broken. Here's
> a patch to fix this:
> >
>
> Thanks for pointing this out!
>
> Actually, there was more wrong than just this. We
> [obviously] took the
> time to develop and define these macros, but they've never found much
> use, thus they were broken from day 1.
>
I assumed these maros were intended to transfer data between a buffer in
memory and a single I/O register (because that was what I wanted to use
them for). Well, seems I was wrong. That would also be a useful function,
however.
Thomas
-----------------------------------------------
Thomas Koeller, Software Development
Basler Vision Technologies
An der Strusbek 60-62
22926 Ahrensburg
Germany
Tel +49 (4102) 463-390
Fax +49 (4102) 463-46390
mailto:Thomas.Koeller@baslerweb.com
http://www.baslerweb.com
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss