5 kernel timer programming

Like Linux interrupt, the programming of kernel timer only needs to call the API functions provided by the kernel. After the clock interrupt occurs, the kernel will check whether each timer expires. After expiration, it will put its bound timer processing function to the bottom half for execution. Kernel timer essentially depends on hardware ti ...

Posted by bad_gui on Sun, 22 May 2022 01:25:07 +0300

pci bus driver model under linux

pci Driver under linux cares about two parameters vid (vendor ID) and did (device ID) Further through lspci -n The detailed explanation is as follows zw@zw-pc:~$ lspci -nn |grep NVI 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1c03] (rev a1) 01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10f1] (rev a1) ...

Posted by mshen on Tue, 26 Apr 2022 08:43:24 +0300