This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Blocking input on diagnostics
- To: "Robert Cragie" <rcc at jennic dot com>
- Subject: Re: [ECOS] Blocking input on diagnostics
- From: Jesper Skov <jskov at cambridge dot redhat dot com>
- Date: 13 Mar 2001 11:10:41 +0100
- Cc: <ecos-discuss at sources dot redhat dot com>
- References: <NDBBLOIOMLKELOJBAPAGKEAFCEAA.rcc@jennic.com>
>>>>> "Robert" == Robert Cragie <rcc@jennic.com> writes:
Robert> Everything works OK, except that I notice that stdin through
Robert> the diagnostics uses a busy wait, which is undesirable for the
They are just that - diagnostics routines. Intended for debug output
only.
Robert> usual reasons. I notice also that the interrupt handler only
Robert> seems to cater for ctrl-c handling. The comms. stuff seems to
Robert> have been abstracted out through the CYGACC_COMM_xxx
Robert> interface, and there doesn't seem to be any catering for
Robert> handling all characters via ISR.
Robert> Is there a 'proper' way to put in blocking wait for all
Robert> characters via ISR on the serial input?
Yes, use the serial driver.
Jesper