Linux Driver 1
Linux Driver 1
OUTLINE
What is a Device Driver?
Role of Device Driver
What is a Kernel?
1) Process Management
2) Memory Management
3) Filesystems
4) Device Control
5) Networking
Process Management
- Kernel ensures that each process obtains its turn to run on the
processor and that the individual processes do not interfere with
each other by writing to their areas of memory.
Memory Management
- The kernel builds up a virtual addressing space for any and all
processes on top of the limited available resources.
- Character Devices
- Block Devices
- Network Interfaces
Character Device
- A character (char) device is one that can be accessed as a
stream of bytes; a char driver is in charge of implementing
this behavior. Such a driver usually implements at least the
open, close, read, and write system calls.