This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: HAL_READ_XXX_VECTOR and HAL_WRITE_XXX_VECTOR ?
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: RE: [ECOS] HAL_READ_XXX_VECTOR and HAL_WRITE_XXX_VECTOR ?
- From: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Date: Wed, 9 Aug 2000 10:19:22 -0700
> -----Original Message-----
> From: Nick Garnett [mailto:nickg@cygnus.co.uk]
> Subject: Re: [ECOS] HAL_READ_XXX_VECTOR and HAL_WRITE_XXX_VECTOR ?
>
> > Hi,
> >
> > What are those two macros supposed to do?
> >
>
> > Read/Write _count_ values from _register_ ?
>
> > while(i<_count_) outb(_register_,_value_[i]);
>
> This is the more useful definition for this since it will support
> things like program IO on IDE.
Yes, I agree, but strangely, it seems that the ARM implementation (wich is
exactly the same for current i386) is otherwise. And what should the _step_
argument in those macro be used for?
> > Anyway: Where are those macros used ?
>
> Probably nowhere at present.
Thanks
A+
--
Fabrice Gautier
fabrice_gautier@sdesigns.com