On Mon, Mar 22, 2010 at 1:20 PM, Alicornio <[email protected]> wrote:
> 3- In the 4.4 book the kenel is said to have 2 parts, top half
> and botton half, and queues between then. "Where are" these
> things (hardclock(), softclock(), hardware ints handlers, hardware
> traps handlers, queues, etc) in the souce tree? How theses things are
> structured in the source tree?

I think you're on the right track generally.  To find the bottom half
of a driver, generally look for a call to pci_intr_establish (at least
for pci drivers).  It takes a function argument for the handler.  The
code that really gets the hardware interrupts will be somewhere under
arch, i386/i386/vector.s is one example.  The queues are wherever they
need to be, ether_input (called from various network driver bottoms)
may be a good place to start tracing.

> I'm trying to study the 4.4 book and go along with the source code but
> it's very, very hard. :-(

A lot's changed.

Reply via email to