[ECOS] Regarding diag-printf

Jonathan Larmour jifl@eCosCentric.com
Mon Apr 7 22:14:00 GMT 2003


Rajan Srivastava wrote:
> Hi,
> 
> I have poll-based serial port driver, 
> I want to make it interrupt based, so that
> console-reading library functions
> don't hog CPU repeatedly.

You need to write a "proper" serial driver. You can find ones for various 
platforms under packages/devs/serial. If one doesn't already exist for 
your board you can use one there as a basis, particularly if one uses the 
same serial chip, e.g. 16550.

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list