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: "Trenton D. Adams" <tadams at extremeeng dot com>
- Subject: Re: [ECOS] Port I/O functions (outb, inb)?
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 10 Oct 2001 17:26:23 +0100
- Cc: 'eCos Discussion' <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Red Hat UK Ltd.
- References: <001901c151a1$72501540$090110ac@TRENT>
"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
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine