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: Port I/O functions (outb, inb)?


Btw, here is the patch that implements HAL_READ_UINT8_STRING and co macros
for x86 and ARM.

I have done that in recall of a late discussion about what
HAL_READ_UINT8_VECTOR was doing:
http://sources.redhat.com/ml/ecos-discuss/2000-08/msg00122.html

This set of macro does the same as outsb/insb instruction for x86.

Regards,


> -----Original Message-----
> From: Jonathan Larmour [mailto:jlarmour@redhat.com]
> Sent: Wednesday, October 10, 2001 9:26 AM
> To: Trenton D. Adams
> Cc: 'eCos Discussion'
> Subject: Re: [ECOS] Port I/O functions (outb, inb)?
> 
> 
> "Trenton D. Adams" wrote:
> > 
> > Does eCos have port I/O functions such as outb() and inb()? 
>  It think
> > everything I access on my EDB7XXX is memory mapped anyhow, 
> but I'm just
> > curious.
> 
> The proper way is to use the macros in <cyg/hal/hal_io.h> such as
> HAL_WRITE_UINT8() etc.
> 
> Jifl


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