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]

RE: HAL_READ_XXX_VECTOR and HAL_WRITE_XXX_VECTOR ?


> -----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 

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