├── README.md ├── aio └── aioapp.c ├── chap01 ├── Makefile ├── README.txt └── demodev.c ├── chap02 ├── app │ └── main.c └── driver │ ├── Makefile │ └── demo_chr_dev.c ├── chap07 └── fasync │ ├── app │ └── main.c │ └── driver │ ├── Makefile │ └── fasync_demo.c ├── chap09 └── kobj │ ├── Makefile │ ├── README.txt │ ├── app │ └── main.c │ └── kobj_demo.c ├── chap10 ├── app │ └── main.c └── mmap │ ├── Makefile │ └── mmap_demo.c ├── chap11 ├── ramhd_mkreq │ ├── Makefile │ └── ramhd_mkreq.c └── ramhd_req │ ├── Makefile │ └── ramhd_req.c ├── kmod └── vtest │ ├── Makefile │ ├── ext_func.c │ ├── ext_func.h │ └── vmx_test.c ├── kmodule ├── A_mod │ ├── Makefile │ ├── README │ └── demodev.c ├── A_mod_bak │ ├── Makefile │ ├── README │ └── demodev.c ├── B_mod │ ├── Makefile │ └── dep_on_A.c ├── finit_mod_api │ └── main.c ├── modref │ ├── Makefile │ └── modref.c └── sysfs_race │ ├── create │ ├── BUG_ON.txt │ ├── Makefile │ ├── addobj.c │ ├── assem.c │ └── assem.s │ └── delete │ ├── BUG_ON.txt │ ├── Makefile │ └── rmobj.c └── net ├── netdevobj ├── Makefile ├── README └── netdevobj.c ├── qdisc ├── Makefile ├── README.txt └── qdisc.c ├── shownetdev ├── Makefile ├── README └── shownetdev.c └── vnet ├── App └── netconf.c ├── Makefile ├── README └── vnet.c /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/README.md -------------------------------------------------------------------------------- /aio/aioapp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/aio/aioapp.c -------------------------------------------------------------------------------- /chap01/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap01/Makefile -------------------------------------------------------------------------------- /chap01/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap01/README.txt -------------------------------------------------------------------------------- /chap01/demodev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap01/demodev.c -------------------------------------------------------------------------------- /chap02/app/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap02/app/main.c -------------------------------------------------------------------------------- /chap02/driver/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap02/driver/Makefile -------------------------------------------------------------------------------- /chap02/driver/demo_chr_dev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap02/driver/demo_chr_dev.c -------------------------------------------------------------------------------- /chap07/fasync/app/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap07/fasync/app/main.c -------------------------------------------------------------------------------- /chap07/fasync/driver/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap07/fasync/driver/Makefile -------------------------------------------------------------------------------- /chap07/fasync/driver/fasync_demo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap07/fasync/driver/fasync_demo.c -------------------------------------------------------------------------------- /chap09/kobj/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap09/kobj/Makefile -------------------------------------------------------------------------------- /chap09/kobj/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap09/kobj/README.txt -------------------------------------------------------------------------------- /chap09/kobj/app/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap09/kobj/app/main.c -------------------------------------------------------------------------------- /chap09/kobj/kobj_demo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap09/kobj/kobj_demo.c -------------------------------------------------------------------------------- /chap10/app/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap10/app/main.c -------------------------------------------------------------------------------- /chap10/mmap/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap10/mmap/Makefile -------------------------------------------------------------------------------- /chap10/mmap/mmap_demo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap10/mmap/mmap_demo.c -------------------------------------------------------------------------------- /chap11/ramhd_mkreq/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap11/ramhd_mkreq/Makefile -------------------------------------------------------------------------------- /chap11/ramhd_mkreq/ramhd_mkreq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap11/ramhd_mkreq/ramhd_mkreq.c -------------------------------------------------------------------------------- /chap11/ramhd_req/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap11/ramhd_req/Makefile -------------------------------------------------------------------------------- /chap11/ramhd_req/ramhd_req.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/chap11/ramhd_req/ramhd_req.c -------------------------------------------------------------------------------- /kmod/vtest/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmod/vtest/Makefile -------------------------------------------------------------------------------- /kmod/vtest/ext_func.c: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /kmod/vtest/ext_func.h: -------------------------------------------------------------------------------- 1 | extern void just_a_func(void); 2 | -------------------------------------------------------------------------------- /kmod/vtest/vmx_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmod/vtest/vmx_test.c -------------------------------------------------------------------------------- /kmodule/A_mod/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/A_mod/Makefile -------------------------------------------------------------------------------- /kmodule/A_mod/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/A_mod/README -------------------------------------------------------------------------------- /kmodule/A_mod/demodev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/A_mod/demodev.c -------------------------------------------------------------------------------- /kmodule/A_mod_bak/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/A_mod_bak/Makefile -------------------------------------------------------------------------------- /kmodule/A_mod_bak/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/A_mod_bak/README -------------------------------------------------------------------------------- /kmodule/A_mod_bak/demodev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/A_mod_bak/demodev.c -------------------------------------------------------------------------------- /kmodule/B_mod/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/B_mod/Makefile -------------------------------------------------------------------------------- /kmodule/B_mod/dep_on_A.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/B_mod/dep_on_A.c -------------------------------------------------------------------------------- /kmodule/finit_mod_api/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/finit_mod_api/main.c -------------------------------------------------------------------------------- /kmodule/modref/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/modref/Makefile -------------------------------------------------------------------------------- /kmodule/modref/modref.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/modref/modref.c -------------------------------------------------------------------------------- /kmodule/sysfs_race/create/BUG_ON.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/sysfs_race/create/BUG_ON.txt -------------------------------------------------------------------------------- /kmodule/sysfs_race/create/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/sysfs_race/create/Makefile -------------------------------------------------------------------------------- /kmodule/sysfs_race/create/addobj.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/sysfs_race/create/addobj.c -------------------------------------------------------------------------------- /kmodule/sysfs_race/create/assem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/sysfs_race/create/assem.c -------------------------------------------------------------------------------- /kmodule/sysfs_race/create/assem.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/sysfs_race/create/assem.s -------------------------------------------------------------------------------- /kmodule/sysfs_race/delete/BUG_ON.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/sysfs_race/delete/BUG_ON.txt -------------------------------------------------------------------------------- /kmodule/sysfs_race/delete/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/sysfs_race/delete/Makefile -------------------------------------------------------------------------------- /kmodule/sysfs_race/delete/rmobj.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/kmodule/sysfs_race/delete/rmobj.c -------------------------------------------------------------------------------- /net/netdevobj/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/net/netdevobj/Makefile -------------------------------------------------------------------------------- /net/netdevobj/README: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /net/netdevobj/netdevobj.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/net/netdevobj/netdevobj.c -------------------------------------------------------------------------------- /net/qdisc/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/net/qdisc/Makefile -------------------------------------------------------------------------------- /net/qdisc/README.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /net/qdisc/qdisc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/net/qdisc/qdisc.c -------------------------------------------------------------------------------- /net/shownetdev/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/net/shownetdev/Makefile -------------------------------------------------------------------------------- /net/shownetdev/README: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /net/shownetdev/shownetdev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/net/shownetdev/shownetdev.c -------------------------------------------------------------------------------- /net/vnet/App/netconf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/net/vnet/App/netconf.c -------------------------------------------------------------------------------- /net/vnet/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/net/vnet/Makefile -------------------------------------------------------------------------------- /net/vnet/README: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /net/vnet/vnet.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LucidaLi/Intermals_of_Linux_device_driver/HEAD/net/vnet/vnet.c --------------------------------------------------------------------------------