This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Serial Driver in Redboot vs HAL




> > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]