drivers and devices...
Posted: Wed May 17, 2006 9:36 am
i couldn't find appropriate thread to jump in, so creating a new one. moderators can always move this.
lets start with an example. in crude terms, you have a hard disk drive, which we can consider as a device. you have the hdd driver which just talks in terms of sector numbers and buffers. you have a filesystem driver operating on top of this hdd driver. (for simplicity, didn't consider something complex like a network file system).
now when a process requests for a file operation, lets say read operation, the request is passes on to the filesystem driver. the driver will then take help of hdd driver, which will read off the disk. this looks like a list of drivers operating on a device, or the driver stack in ms' terms. the basic stuff that we all know.
well, the idea is clear to me. (i may be wrong... pls correct if so)
how have you implemented this???
lets start with an example. in crude terms, you have a hard disk drive, which we can consider as a device. you have the hdd driver which just talks in terms of sector numbers and buffers. you have a filesystem driver operating on top of this hdd driver. (for simplicity, didn't consider something complex like a network file system).
now when a process requests for a file operation, lets say read operation, the request is passes on to the filesystem driver. the driver will then take help of hdd driver, which will read off the disk. this looks like a list of drivers operating on a device, or the driver stack in ms' terms. the basic stuff that we all know.
well, the idea is clear to me. (i may be wrong... pls correct if so)
how have you implemented this???