This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Serial Driver in Redboot vs HAL
- To: "'Jonathan Larmour'" <jlarmour at redhat dot com>, "Doris, Thomas" <thomas dot doris at intel dot com>
- Subject: RE: [ECOS] Serial Driver in Redboot vs HAL
- From: "Doris, Thomas" <thomas dot doris at intel dot com>
- Date: Wed, 10 Oct 2001 15:13:02 +0100
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
> > I am assuming that the hal_diag serial code is used for redboot and
> > diagnostic code, while the "proper" driver under
> packages/devs/serial is
> > used by the real i/o library in real eCos applications. Any
> > information/clarification on the official position on this would be
> > appreciated.
>
> Correct. The main difference is polled with hal_diag (and the
> potential to
> leave interrupts disabled for a while - but the intention is only for
> diagnostic debug output, not _real_ output), and interrupt
> driven with the
> stuff in devs/serial, where eCos is allowed to run more
> smoothly because
> interrupts are left enabled and other threads can run.
OK, is all RedBoot command line i/o considered diagnostic debug i/o?
> Fair enough, although a patch speaks a thousand words :-).
I agree entirely, just wanted to make sure that I wasn't missing something
intentional.
Thanks for the prompt feedback.
Tom