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]

HAL_READ_XXX_VECTOR and HAL_WRITE_XXX_VECTOR ?


Hi,

What are those two macros supposed to do?

Read/Write _count_ values from _register_  ?
or
Read/Write 1 value from _count_  registers (starting from _register_ ) ?

In the x86 context, the first would be something like 

while(i<_count_) outb(_register_,_value_[i]);

and the second

while(i<_count_) outb(_register_+_count_,_value_[i]);

Anyway: Where are those macros used ?

Thank you
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]