This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Atmel/AT91/ARM SERIAL PORT DRIVER REWRITTEN WITHHARDWARE BUFFERING
- From: Jesper Skov <jskov at redhat dot com>
- To: Jesper Skov <jskov at redhat dot com>
- Cc: psheer <psheer at icon dot co dot za>,eCos Discuss <ecos-discuss at sources dot redhat dot com>
- Date: 16 Jan 2002 08:21:11 +0100
- Subject: Re: [ECOS] Atmel/AT91/ARM SERIAL PORT DRIVER REWRITTEN WITHHARDWARE BUFFERING
- References: <200201152340.g0FNetw21227@mail.redhat.com> <1011164927.28180.12.camel@thinktwice.zoftcorp.dk>
On Wed, 2002-01-16 at 08:08, Jesper Skov wrote:
> On Wed, 2002-01-16 at 02:40, psheer wrote:
> > The solution is to use the PDC in both directions,
> > disable RXRDY/TXRDY interrupts entirely, and insert
> > some REALLY fast flip buffer routine inside eCos's
> > main interrupt handler.
>
> And because it's the _main_ (ARM) eCos interrupt handler, there's no way
> we could accept that code.
[snip]
> Alternatively (and properly better in the long run), we could make the
> call to hal_IRQ_handler in vectors.S a macro that can be overriden by
> platforms. A platform like the AT91 could then provide their own
> implementation of the function.
*duh!*
That's already how it's laid out. Your code is correct, and I need some
stronger memory pills...
Cheers,
Jesper