This is the mail archive of the ecos-discuss@sourceware.org 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]
Other format: [Raw text]

Re: "Bottom Half Handlers" implementation


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


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