Полезная информация

next up previous contents
Next: How file operations are Up: Tour of the kernel Previous: Quick Anatomy of a

The console driver

Being the main I/O device on most boxes, the console driver deserves some attention. The source code related to the console, as well as the other character drivers, is to be found in drivers/char, and we'll use this very directory as our referenece point when naming files.

Console initialization is performed by the function tty_init(), in tty_io.c. This function is only concerned in getting major device numbers and calling the init function for each device set. con_init(), then is the one related to the console, and resides in console.c.


Converted on:
Mon Apr 1 10:20:16 EST 1996