Functionality | Functions for Dynamic Registration |
---|---|
Character devices | (un)register_chrdev( ) |
Block devices | (un)register_blkdev( ) |
Binary formats | (un)register_binfmt( ) |
File systems | (un)register_filesystem( ) |
Serial interfaces | (un)register_serial( ) |
Network adapters | (un)register_netdev( ) |
Layer-3 protocols | dev_add_pack( ), dev_remove_pack( ) |
Layer-4 protocols (TCP/IP) | inet_add_protocol( ), inet_del_protocol( ) |
Console drivers | tty_(un)register_driver( ) |
Symbol tables | (un)register_symtab( ) |
Modules | init_module( ), cleanup_module( ) |
Despite its modularization, Linux has preserved a major benefit of monolithic kernels: All functions implemented in modules run in protected kernel mode, which means that they do not require any context change when called from within the kernel. This can be seen as a clever combination of the benefits from both main operating-system architectures.
Linux 2.4
No comments:
Post a Comment