This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Port I/O functions (outb, inb)?
- To: 'Jonathan Larmour' <jlarmour at redhat dot com>, "Trenton D. Adams" <tadams at extremeeng dot com>
- Subject: RE: [ECOS] Port I/O functions (outb, inb)?
- From: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Date: Wed, 10 Oct 2001 14:03:31 -0700
- Cc: 'eCos Discussion' <ecos-discuss at sourceware dot cygnus dot com>
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