views:

24

answers:

2

This question is inspired from this answer,

what does the bottom half do for a driver that doesn't have actual hardware device?

A: 

That looks like more of a conceptual division than an actual division, i.e.:

  • bottom half -- sends and receives messages to and from device
  • top half -- talks to the platform

In a driver without an actual device, the "bottom half" does whatever the driver is supposed to do. For example, if it's a RAM disk, it manages blocks of memory.

zildjohn01
A: 

That answer uses a metaphor to explain device drivers. There isn't necessarily a division of two halves, in which the bottom one controls the hardware.

In any case, the answer could be that that "bottom half" simulates some hardware instead, like a virtual CD-ROM drive or something like that.

calmh

related questions