Created
January 3, 2014 07:00
-
-
Save Embedded-linux/8233977 to your computer and use it in GitHub Desktop.
kernel supported driver functions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| The OS functions supported at kernel level are, of course, only those functions programmed inside it: | |
| kmalloc(), kfree(): memory management | |
| cli(), sti(): enable/disable interrupts | |
| add_timer(), init_timer(), del_timer(): timing management | |
| request_irq(), free_irq(): irq management | |
| inb_p(), outb_p(): port management | |
| memcpy_*fs(): data management | |
| printk(): input/output | |
| register_*dev(), unregister_*dev(): device management | |
| *sleep_on(), wake_up*(): process management | |
| ********************************************************************** | |
| so these are maxium functions supported by kernel used in probe function of driver. | |
| we will write sample program for each function to understand its usage. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment