This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: "Bottom Half Handlers" implementation
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: manu shetty <shetty_m at yahoo dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: 31 Jul 2006 11:32:12 +0100
- Subject: Re: [ECOS] "Bottom Half Handlers" implementation
- References: <20060731095813.68229.qmail@web51704.mail.yahoo.com>
manu shetty <shetty_m@yahoo.com> writes:
> Hi,
> How do I implement the "Bottom Half Handlers on
> Linux" in ECOS ?.
DSRs are roughly equivalent to bottom half handlers. An alternative is
to move the equivalent of the bottom half processing into a
thread. This is essentially what we did for the ethernet drivers.
However, why are you asking? It would be a very difficult job to try
and get a Linux driver working in eCos. The Linux driver environment
is considerably more complex than that of eCos. Particularly in the
virtualization of interrupt, memory, bus interfaces and the interface
to the OS and clients.
Generally we have only ever used Linux drivers as sources of
information about the hardware, and have written our own drivers from
scratch. There is also, of course, the licensing minefield.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss