├── .gitignore ├── 00_preface └── 00_dir_tree.md ├── 01_Introduction_to_Linux_and_Device_Drivers ├── 00_opening.md ├── 01_the_linux_kernel.md ├── 02_role_of_device_driver.md ├── 03_license.md └── 04_overview_of_this_book.md ├── 02_getting_start_with_driver_development ├── 00_opening.md ├── 01_development_with_qemu.md ├── 02_compile_Linux_Kernel.md ├── 03_build_initramfs.md ├── 04_nfs_support.md ├── 05_telnet_server.md ├── 06_hello_world_module.md ├── 07_compiling.md ├── 08_loading_module.md ├── 09_review_hello_world.md ├── 10_kernel_modules_vs_applications.md ├── 11_kernel_symbol_table.md ├── 12_initialization_and_shutdown.md ├── 99_final.md └── QEMU_LDD.patch ├── LICENSE ├── README.md ├── bin ├── boot.sh └── rebuild_initramfs.sh ├── eg_01_hello_world ├── Makefile ├── README.md └── hello_world.c ├── eg_02_module_parameters ├── Makefile ├── README.md └── main.c ├── eg_03_scull_basic ├── Makefile ├── README.md ├── fops.c ├── fops.h ├── load_module.sh ├── main.c └── main.h ├── eg_04_proc_fs_basic ├── Makefile ├── README.md ├── main.c └── main.h ├── eg_05_proc_fs_iterator ├── Makefile ├── README.md ├── fops.c ├── fops.h ├── main.c └── main.h ├── eg_06_completion ├── Makefile ├── README.md ├── load_module.sh ├── main.c └── main.h ├── eg_07_ioctl ├── Makefile ├── README.md ├── fops.c ├── fops.h ├── load_module.sh ├── main.c ├── main.h └── test │ ├── Makefile │ └── main.c ├── eg_08_pipe_simple_sleep ├── Makefile ├── README.md ├── fops.c ├── fops.h ├── load_module.sh ├── main.c └── main.h ├── eg_09_pipe_advanced_sleep ├── Makefile ├── README.md ├── fops.c ├── fops.h ├── load_module.sh ├── main.c └── main.h ├── eg_10_poll ├── Makefile ├── README.md ├── fops.c ├── fops.h ├── load_module.sh ├── main.c ├── main.h └── test │ ├── Makefile │ └── poll.c ├── eg_11_asynchronous_notification ├── Makefile ├── README.md ├── fops.c ├── fops.h ├── load_module.sh ├── main.c ├── main.h └── test │ ├── Makefile │ └── async_notify.c ├── eg_12_seeking ├── Makefile ├── README.md ├── fops.c ├── fops.h ├── load_module.sh ├── main.c ├── main.h └── test │ ├── Makefile │ └── seek.c ├── eg_13_jit ├── Makefile ├── README.md ├── fops.c ├── fops.h ├── main.c └── main.h ├── eg_14_jiq ├── Makefile ├── main.c └── main.h ├── eg_15_short_ioport ├── Makefile ├── load_module.sh ├── main.c └── main.h ├── eg_16_short_port_remap ├── Makefile ├── load_module.sh ├── main.c └── main.h ├── eg_17_short_mmio ├── Makefile ├── load_module.sh ├── main.c └── main.h ├── eg_18_short_irq ├── Makefile ├── load_module.sh ├── main.c └── main.h ├── eg_19_short_irq_probe ├── Makefile ├── load_module.sh ├── main.c └── main.h ├── eg_20_pci_skel ├── Makefile ├── load_module.sh ├── main.c └── main.h ├── eg_21_usb_skel ├── Makefile ├── load_module.sh ├── main.c ├── main.h └── test │ ├── Makefile │ └── main.c ├── eg_22_lddbus ├── Makefile ├── lddbus.h ├── load_module.sh ├── main.c ├── main.h └── sculld │ ├── Makefile │ ├── main.c │ └── sculld.h ├── eg_23_simple ├── Makefile ├── load_module.sh ├── main.c ├── main.h └── test │ ├── Makefile │ ├── fault.c │ └── remap.c ├── eg_24_zero_copy ├── Makefile ├── ioc_cmd.h ├── load_module.sh ├── main.c ├── main.h └── test │ ├── Makefile │ └── main.c ├── eg_25_async_io ├── Makefile ├── README.md ├── load_module.sh ├── main.c ├── main.h └── test │ ├── Makefile │ └── async_notify.c ├── eg_26_msi_interrupt ├── Makefile ├── load_module.sh ├── main.c └── main.h ├── eg_27_dma ├── Makefile ├── ioctl_cmd.h ├── load_module.sh ├── main.c ├── main.h └── test │ ├── Makefile │ └── main.c ├── eg_28_dma_sg_NOT_COMPLETE ├── Makefile ├── ioctl_cmd.h ├── load_module.sh ├── main.c ├── main.h └── test │ ├── Makefile │ └── main.c ├── eg_29_block_device ├── Makefile ├── ioctl_cmd.h ├── load_module.sh ├── main.c └── main.h ├── eg_30_netdev ├── Makefile ├── ioctl_cmd.h ├── load_module.sh ├── main.c ├── main.h └── test │ ├── Makefile │ ├── client.c │ └── server.c ├── eg_31_tty ├── Makefile ├── ioctl_cmd.h ├── load_module.sh ├── main.c ├── main.h ├── main_bk.c ├── main_on.c ├── test │ ├── Makefile │ ├── client.c │ └── server.c └── ttyprintk_bk.c └── eg_rbtree ├── Makefile ├── README.md └── main.c /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/.gitignore -------------------------------------------------------------------------------- /00_preface/00_dir_tree.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/00_preface/00_dir_tree.md -------------------------------------------------------------------------------- /01_Introduction_to_Linux_and_Device_Drivers/00_opening.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/01_Introduction_to_Linux_and_Device_Drivers/00_opening.md -------------------------------------------------------------------------------- /01_Introduction_to_Linux_and_Device_Drivers/01_the_linux_kernel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/01_Introduction_to_Linux_and_Device_Drivers/01_the_linux_kernel.md -------------------------------------------------------------------------------- /01_Introduction_to_Linux_and_Device_Drivers/02_role_of_device_driver.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/01_Introduction_to_Linux_and_Device_Drivers/02_role_of_device_driver.md -------------------------------------------------------------------------------- /01_Introduction_to_Linux_and_Device_Drivers/03_license.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/01_Introduction_to_Linux_and_Device_Drivers/03_license.md -------------------------------------------------------------------------------- /01_Introduction_to_Linux_and_Device_Drivers/04_overview_of_this_book.md: -------------------------------------------------------------------------------- 1 | # Overview of this book 2 | 3 | # ¶ The end 4 | -------------------------------------------------------------------------------- /02_getting_start_with_driver_development/00_opening.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/02_getting_start_with_driver_development/00_opening.md -------------------------------------------------------------------------------- /02_getting_start_with_driver_development/01_development_with_qemu.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/02_getting_start_with_driver_development/01_development_with_qemu.md -------------------------------------------------------------------------------- /02_getting_start_with_driver_development/02_compile_Linux_Kernel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/02_getting_start_with_driver_development/02_compile_Linux_Kernel.md -------------------------------------------------------------------------------- /02_getting_start_with_driver_development/03_build_initramfs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/02_getting_start_with_driver_development/03_build_initramfs.md -------------------------------------------------------------------------------- /02_getting_start_with_driver_development/04_nfs_support.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/02_getting_start_with_driver_development/04_nfs_support.md -------------------------------------------------------------------------------- /02_getting_start_with_driver_development/05_telnet_server.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/02_getting_start_with_driver_development/05_telnet_server.md -------------------------------------------------------------------------------- /02_getting_start_with_driver_development/06_hello_world_module.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/02_getting_start_with_driver_development/06_hello_world_module.md -------------------------------------------------------------------------------- /02_getting_start_with_driver_development/07_compiling.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/02_getting_start_with_driver_development/07_compiling.md -------------------------------------------------------------------------------- /02_getting_start_with_driver_development/08_loading_module.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/02_getting_start_with_driver_development/08_loading_module.md -------------------------------------------------------------------------------- /02_getting_start_with_driver_development/09_review_hello_world.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/02_getting_start_with_driver_development/09_review_hello_world.md -------------------------------------------------------------------------------- /02_getting_start_with_driver_development/10_kernel_modules_vs_applications.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/02_getting_start_with_driver_development/10_kernel_modules_vs_applications.md -------------------------------------------------------------------------------- /02_getting_start_with_driver_development/11_kernel_symbol_table.md: -------------------------------------------------------------------------------- 1 | # Kernel Symbols 2 | 3 | ## Stacking driver 4 | 5 | # ¶ The end 6 | -------------------------------------------------------------------------------- /02_getting_start_with_driver_development/12_initialization_and_shutdown.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/02_getting_start_with_driver_development/12_initialization_and_shutdown.md -------------------------------------------------------------------------------- /02_getting_start_with_driver_development/99_final.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/02_getting_start_with_driver_development/99_final.md -------------------------------------------------------------------------------- /02_getting_start_with_driver_development/QEMU_LDD.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/02_getting_start_with_driver_development/QEMU_LDD.patch -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/README.md -------------------------------------------------------------------------------- /bin/boot.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/bin/boot.sh -------------------------------------------------------------------------------- /bin/rebuild_initramfs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/bin/rebuild_initramfs.sh -------------------------------------------------------------------------------- /eg_01_hello_world/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_01_hello_world/Makefile -------------------------------------------------------------------------------- /eg_01_hello_world/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_01_hello_world/README.md -------------------------------------------------------------------------------- /eg_01_hello_world/hello_world.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_01_hello_world/hello_world.c -------------------------------------------------------------------------------- /eg_02_module_parameters/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_02_module_parameters/Makefile -------------------------------------------------------------------------------- /eg_02_module_parameters/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_02_module_parameters/README.md -------------------------------------------------------------------------------- /eg_02_module_parameters/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_02_module_parameters/main.c -------------------------------------------------------------------------------- /eg_03_scull_basic/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_03_scull_basic/Makefile -------------------------------------------------------------------------------- /eg_03_scull_basic/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_03_scull_basic/README.md -------------------------------------------------------------------------------- /eg_03_scull_basic/fops.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_03_scull_basic/fops.c -------------------------------------------------------------------------------- /eg_03_scull_basic/fops.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_03_scull_basic/fops.h -------------------------------------------------------------------------------- /eg_03_scull_basic/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_03_scull_basic/load_module.sh -------------------------------------------------------------------------------- /eg_03_scull_basic/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_03_scull_basic/main.c -------------------------------------------------------------------------------- /eg_03_scull_basic/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_03_scull_basic/main.h -------------------------------------------------------------------------------- /eg_04_proc_fs_basic/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_04_proc_fs_basic/Makefile -------------------------------------------------------------------------------- /eg_04_proc_fs_basic/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_04_proc_fs_basic/README.md -------------------------------------------------------------------------------- /eg_04_proc_fs_basic/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_04_proc_fs_basic/main.c -------------------------------------------------------------------------------- /eg_04_proc_fs_basic/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_04_proc_fs_basic/main.h -------------------------------------------------------------------------------- /eg_05_proc_fs_iterator/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_05_proc_fs_iterator/Makefile -------------------------------------------------------------------------------- /eg_05_proc_fs_iterator/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_05_proc_fs_iterator/README.md -------------------------------------------------------------------------------- /eg_05_proc_fs_iterator/fops.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_05_proc_fs_iterator/fops.c -------------------------------------------------------------------------------- /eg_05_proc_fs_iterator/fops.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_05_proc_fs_iterator/fops.h -------------------------------------------------------------------------------- /eg_05_proc_fs_iterator/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_05_proc_fs_iterator/main.c -------------------------------------------------------------------------------- /eg_05_proc_fs_iterator/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_05_proc_fs_iterator/main.h -------------------------------------------------------------------------------- /eg_06_completion/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_06_completion/Makefile -------------------------------------------------------------------------------- /eg_06_completion/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_06_completion/README.md -------------------------------------------------------------------------------- /eg_06_completion/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_06_completion/load_module.sh -------------------------------------------------------------------------------- /eg_06_completion/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_06_completion/main.c -------------------------------------------------------------------------------- /eg_06_completion/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_06_completion/main.h -------------------------------------------------------------------------------- /eg_07_ioctl/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_07_ioctl/Makefile -------------------------------------------------------------------------------- /eg_07_ioctl/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_07_ioctl/README.md -------------------------------------------------------------------------------- /eg_07_ioctl/fops.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_07_ioctl/fops.c -------------------------------------------------------------------------------- /eg_07_ioctl/fops.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_07_ioctl/fops.h -------------------------------------------------------------------------------- /eg_07_ioctl/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_07_ioctl/load_module.sh -------------------------------------------------------------------------------- /eg_07_ioctl/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_07_ioctl/main.c -------------------------------------------------------------------------------- /eg_07_ioctl/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_07_ioctl/main.h -------------------------------------------------------------------------------- /eg_07_ioctl/test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_07_ioctl/test/Makefile -------------------------------------------------------------------------------- /eg_07_ioctl/test/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_07_ioctl/test/main.c -------------------------------------------------------------------------------- /eg_08_pipe_simple_sleep/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_08_pipe_simple_sleep/Makefile -------------------------------------------------------------------------------- /eg_08_pipe_simple_sleep/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_08_pipe_simple_sleep/README.md -------------------------------------------------------------------------------- /eg_08_pipe_simple_sleep/fops.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_08_pipe_simple_sleep/fops.c -------------------------------------------------------------------------------- /eg_08_pipe_simple_sleep/fops.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_08_pipe_simple_sleep/fops.h -------------------------------------------------------------------------------- /eg_08_pipe_simple_sleep/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_08_pipe_simple_sleep/load_module.sh -------------------------------------------------------------------------------- /eg_08_pipe_simple_sleep/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_08_pipe_simple_sleep/main.c -------------------------------------------------------------------------------- /eg_08_pipe_simple_sleep/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_08_pipe_simple_sleep/main.h -------------------------------------------------------------------------------- /eg_09_pipe_advanced_sleep/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_09_pipe_advanced_sleep/Makefile -------------------------------------------------------------------------------- /eg_09_pipe_advanced_sleep/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_09_pipe_advanced_sleep/README.md -------------------------------------------------------------------------------- /eg_09_pipe_advanced_sleep/fops.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_09_pipe_advanced_sleep/fops.c -------------------------------------------------------------------------------- /eg_09_pipe_advanced_sleep/fops.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_09_pipe_advanced_sleep/fops.h -------------------------------------------------------------------------------- /eg_09_pipe_advanced_sleep/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_09_pipe_advanced_sleep/load_module.sh -------------------------------------------------------------------------------- /eg_09_pipe_advanced_sleep/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_09_pipe_advanced_sleep/main.c -------------------------------------------------------------------------------- /eg_09_pipe_advanced_sleep/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_09_pipe_advanced_sleep/main.h -------------------------------------------------------------------------------- /eg_10_poll/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_10_poll/Makefile -------------------------------------------------------------------------------- /eg_10_poll/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_10_poll/README.md -------------------------------------------------------------------------------- /eg_10_poll/fops.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_10_poll/fops.c -------------------------------------------------------------------------------- /eg_10_poll/fops.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_10_poll/fops.h -------------------------------------------------------------------------------- /eg_10_poll/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_10_poll/load_module.sh -------------------------------------------------------------------------------- /eg_10_poll/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_10_poll/main.c -------------------------------------------------------------------------------- /eg_10_poll/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_10_poll/main.h -------------------------------------------------------------------------------- /eg_10_poll/test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_10_poll/test/Makefile -------------------------------------------------------------------------------- /eg_10_poll/test/poll.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_10_poll/test/poll.c -------------------------------------------------------------------------------- /eg_11_asynchronous_notification/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_11_asynchronous_notification/Makefile -------------------------------------------------------------------------------- /eg_11_asynchronous_notification/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_11_asynchronous_notification/README.md -------------------------------------------------------------------------------- /eg_11_asynchronous_notification/fops.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_11_asynchronous_notification/fops.c -------------------------------------------------------------------------------- /eg_11_asynchronous_notification/fops.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_11_asynchronous_notification/fops.h -------------------------------------------------------------------------------- /eg_11_asynchronous_notification/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_11_asynchronous_notification/load_module.sh -------------------------------------------------------------------------------- /eg_11_asynchronous_notification/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_11_asynchronous_notification/main.c -------------------------------------------------------------------------------- /eg_11_asynchronous_notification/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_11_asynchronous_notification/main.h -------------------------------------------------------------------------------- /eg_11_asynchronous_notification/test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_11_asynchronous_notification/test/Makefile -------------------------------------------------------------------------------- /eg_11_asynchronous_notification/test/async_notify.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_11_asynchronous_notification/test/async_notify.c -------------------------------------------------------------------------------- /eg_12_seeking/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_12_seeking/Makefile -------------------------------------------------------------------------------- /eg_12_seeking/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_12_seeking/README.md -------------------------------------------------------------------------------- /eg_12_seeking/fops.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_12_seeking/fops.c -------------------------------------------------------------------------------- /eg_12_seeking/fops.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_12_seeking/fops.h -------------------------------------------------------------------------------- /eg_12_seeking/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_12_seeking/load_module.sh -------------------------------------------------------------------------------- /eg_12_seeking/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_12_seeking/main.c -------------------------------------------------------------------------------- /eg_12_seeking/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_12_seeking/main.h -------------------------------------------------------------------------------- /eg_12_seeking/test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_12_seeking/test/Makefile -------------------------------------------------------------------------------- /eg_12_seeking/test/seek.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_12_seeking/test/seek.c -------------------------------------------------------------------------------- /eg_13_jit/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_13_jit/Makefile -------------------------------------------------------------------------------- /eg_13_jit/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_13_jit/README.md -------------------------------------------------------------------------------- /eg_13_jit/fops.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_13_jit/fops.c -------------------------------------------------------------------------------- /eg_13_jit/fops.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_13_jit/fops.h -------------------------------------------------------------------------------- /eg_13_jit/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_13_jit/main.c -------------------------------------------------------------------------------- /eg_13_jit/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_13_jit/main.h -------------------------------------------------------------------------------- /eg_14_jiq/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_14_jiq/Makefile -------------------------------------------------------------------------------- /eg_14_jiq/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_14_jiq/main.c -------------------------------------------------------------------------------- /eg_14_jiq/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_14_jiq/main.h -------------------------------------------------------------------------------- /eg_15_short_ioport/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_15_short_ioport/Makefile -------------------------------------------------------------------------------- /eg_15_short_ioport/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_15_short_ioport/load_module.sh -------------------------------------------------------------------------------- /eg_15_short_ioport/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_15_short_ioport/main.c -------------------------------------------------------------------------------- /eg_15_short_ioport/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_15_short_ioport/main.h -------------------------------------------------------------------------------- /eg_16_short_port_remap/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_16_short_port_remap/Makefile -------------------------------------------------------------------------------- /eg_16_short_port_remap/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_16_short_port_remap/load_module.sh -------------------------------------------------------------------------------- /eg_16_short_port_remap/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_16_short_port_remap/main.c -------------------------------------------------------------------------------- /eg_16_short_port_remap/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_16_short_port_remap/main.h -------------------------------------------------------------------------------- /eg_17_short_mmio/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_17_short_mmio/Makefile -------------------------------------------------------------------------------- /eg_17_short_mmio/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_17_short_mmio/load_module.sh -------------------------------------------------------------------------------- /eg_17_short_mmio/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_17_short_mmio/main.c -------------------------------------------------------------------------------- /eg_17_short_mmio/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_17_short_mmio/main.h -------------------------------------------------------------------------------- /eg_18_short_irq/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_18_short_irq/Makefile -------------------------------------------------------------------------------- /eg_18_short_irq/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_18_short_irq/load_module.sh -------------------------------------------------------------------------------- /eg_18_short_irq/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_18_short_irq/main.c -------------------------------------------------------------------------------- /eg_18_short_irq/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_18_short_irq/main.h -------------------------------------------------------------------------------- /eg_19_short_irq_probe/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_19_short_irq_probe/Makefile -------------------------------------------------------------------------------- /eg_19_short_irq_probe/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_19_short_irq_probe/load_module.sh -------------------------------------------------------------------------------- /eg_19_short_irq_probe/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_19_short_irq_probe/main.c -------------------------------------------------------------------------------- /eg_19_short_irq_probe/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_19_short_irq_probe/main.h -------------------------------------------------------------------------------- /eg_20_pci_skel/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_20_pci_skel/Makefile -------------------------------------------------------------------------------- /eg_20_pci_skel/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_20_pci_skel/load_module.sh -------------------------------------------------------------------------------- /eg_20_pci_skel/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_20_pci_skel/main.c -------------------------------------------------------------------------------- /eg_20_pci_skel/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_20_pci_skel/main.h -------------------------------------------------------------------------------- /eg_21_usb_skel/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_21_usb_skel/Makefile -------------------------------------------------------------------------------- /eg_21_usb_skel/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_21_usb_skel/load_module.sh -------------------------------------------------------------------------------- /eg_21_usb_skel/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_21_usb_skel/main.c -------------------------------------------------------------------------------- /eg_21_usb_skel/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_21_usb_skel/main.h -------------------------------------------------------------------------------- /eg_21_usb_skel/test/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | gcc -std=gnu99 -o test.out --static main.c 3 | -------------------------------------------------------------------------------- /eg_21_usb_skel/test/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_21_usb_skel/test/main.c -------------------------------------------------------------------------------- /eg_22_lddbus/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_22_lddbus/Makefile -------------------------------------------------------------------------------- /eg_22_lddbus/lddbus.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_22_lddbus/lddbus.h -------------------------------------------------------------------------------- /eg_22_lddbus/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_22_lddbus/load_module.sh -------------------------------------------------------------------------------- /eg_22_lddbus/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_22_lddbus/main.c -------------------------------------------------------------------------------- /eg_22_lddbus/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_22_lddbus/main.h -------------------------------------------------------------------------------- /eg_22_lddbus/sculld/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_22_lddbus/sculld/Makefile -------------------------------------------------------------------------------- /eg_22_lddbus/sculld/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_22_lddbus/sculld/main.c -------------------------------------------------------------------------------- /eg_22_lddbus/sculld/sculld.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_22_lddbus/sculld/sculld.h -------------------------------------------------------------------------------- /eg_23_simple/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_23_simple/Makefile -------------------------------------------------------------------------------- /eg_23_simple/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_23_simple/load_module.sh -------------------------------------------------------------------------------- /eg_23_simple/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_23_simple/main.c -------------------------------------------------------------------------------- /eg_23_simple/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_23_simple/main.h -------------------------------------------------------------------------------- /eg_23_simple/test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_23_simple/test/Makefile -------------------------------------------------------------------------------- /eg_23_simple/test/fault.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_23_simple/test/fault.c -------------------------------------------------------------------------------- /eg_23_simple/test/remap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_23_simple/test/remap.c -------------------------------------------------------------------------------- /eg_24_zero_copy/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_24_zero_copy/Makefile -------------------------------------------------------------------------------- /eg_24_zero_copy/ioc_cmd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_24_zero_copy/ioc_cmd.h -------------------------------------------------------------------------------- /eg_24_zero_copy/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_24_zero_copy/load_module.sh -------------------------------------------------------------------------------- /eg_24_zero_copy/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_24_zero_copy/main.c -------------------------------------------------------------------------------- /eg_24_zero_copy/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_24_zero_copy/main.h -------------------------------------------------------------------------------- /eg_24_zero_copy/test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_24_zero_copy/test/Makefile -------------------------------------------------------------------------------- /eg_24_zero_copy/test/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_24_zero_copy/test/main.c -------------------------------------------------------------------------------- /eg_25_async_io/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_25_async_io/Makefile -------------------------------------------------------------------------------- /eg_25_async_io/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_25_async_io/README.md -------------------------------------------------------------------------------- /eg_25_async_io/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_25_async_io/load_module.sh -------------------------------------------------------------------------------- /eg_25_async_io/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_25_async_io/main.c -------------------------------------------------------------------------------- /eg_25_async_io/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_25_async_io/main.h -------------------------------------------------------------------------------- /eg_25_async_io/test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_25_async_io/test/Makefile -------------------------------------------------------------------------------- /eg_25_async_io/test/async_notify.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_25_async_io/test/async_notify.c -------------------------------------------------------------------------------- /eg_26_msi_interrupt/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_26_msi_interrupt/Makefile -------------------------------------------------------------------------------- /eg_26_msi_interrupt/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_26_msi_interrupt/load_module.sh -------------------------------------------------------------------------------- /eg_26_msi_interrupt/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_26_msi_interrupt/main.c -------------------------------------------------------------------------------- /eg_26_msi_interrupt/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_26_msi_interrupt/main.h -------------------------------------------------------------------------------- /eg_27_dma/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_27_dma/Makefile -------------------------------------------------------------------------------- /eg_27_dma/ioctl_cmd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_27_dma/ioctl_cmd.h -------------------------------------------------------------------------------- /eg_27_dma/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_27_dma/load_module.sh -------------------------------------------------------------------------------- /eg_27_dma/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_27_dma/main.c -------------------------------------------------------------------------------- /eg_27_dma/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_27_dma/main.h -------------------------------------------------------------------------------- /eg_27_dma/test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_27_dma/test/Makefile -------------------------------------------------------------------------------- /eg_27_dma/test/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_27_dma/test/main.c -------------------------------------------------------------------------------- /eg_28_dma_sg_NOT_COMPLETE/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_28_dma_sg_NOT_COMPLETE/Makefile -------------------------------------------------------------------------------- /eg_28_dma_sg_NOT_COMPLETE/ioctl_cmd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_28_dma_sg_NOT_COMPLETE/ioctl_cmd.h -------------------------------------------------------------------------------- /eg_28_dma_sg_NOT_COMPLETE/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_28_dma_sg_NOT_COMPLETE/load_module.sh -------------------------------------------------------------------------------- /eg_28_dma_sg_NOT_COMPLETE/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_28_dma_sg_NOT_COMPLETE/main.c -------------------------------------------------------------------------------- /eg_28_dma_sg_NOT_COMPLETE/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_28_dma_sg_NOT_COMPLETE/main.h -------------------------------------------------------------------------------- /eg_28_dma_sg_NOT_COMPLETE/test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_28_dma_sg_NOT_COMPLETE/test/Makefile -------------------------------------------------------------------------------- /eg_28_dma_sg_NOT_COMPLETE/test/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_28_dma_sg_NOT_COMPLETE/test/main.c -------------------------------------------------------------------------------- /eg_29_block_device/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_29_block_device/Makefile -------------------------------------------------------------------------------- /eg_29_block_device/ioctl_cmd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_29_block_device/ioctl_cmd.h -------------------------------------------------------------------------------- /eg_29_block_device/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_29_block_device/load_module.sh -------------------------------------------------------------------------------- /eg_29_block_device/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_29_block_device/main.c -------------------------------------------------------------------------------- /eg_29_block_device/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_29_block_device/main.h -------------------------------------------------------------------------------- /eg_30_netdev/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_30_netdev/Makefile -------------------------------------------------------------------------------- /eg_30_netdev/ioctl_cmd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_30_netdev/ioctl_cmd.h -------------------------------------------------------------------------------- /eg_30_netdev/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_30_netdev/load_module.sh -------------------------------------------------------------------------------- /eg_30_netdev/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_30_netdev/main.c -------------------------------------------------------------------------------- /eg_30_netdev/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_30_netdev/main.h -------------------------------------------------------------------------------- /eg_30_netdev/test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_30_netdev/test/Makefile -------------------------------------------------------------------------------- /eg_30_netdev/test/client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_30_netdev/test/client.c -------------------------------------------------------------------------------- /eg_30_netdev/test/server.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_30_netdev/test/server.c -------------------------------------------------------------------------------- /eg_31_tty/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_31_tty/Makefile -------------------------------------------------------------------------------- /eg_31_tty/ioctl_cmd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_31_tty/ioctl_cmd.h -------------------------------------------------------------------------------- /eg_31_tty/load_module.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_31_tty/load_module.sh -------------------------------------------------------------------------------- /eg_31_tty/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_31_tty/main.c -------------------------------------------------------------------------------- /eg_31_tty/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_31_tty/main.h -------------------------------------------------------------------------------- /eg_31_tty/main_bk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_31_tty/main_bk.c -------------------------------------------------------------------------------- /eg_31_tty/main_on.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_31_tty/main_on.c -------------------------------------------------------------------------------- /eg_31_tty/test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_31_tty/test/Makefile -------------------------------------------------------------------------------- /eg_31_tty/test/client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_31_tty/test/client.c -------------------------------------------------------------------------------- /eg_31_tty/test/server.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_31_tty/test/server.c -------------------------------------------------------------------------------- /eg_31_tty/ttyprintk_bk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_31_tty/ttyprintk_bk.c -------------------------------------------------------------------------------- /eg_rbtree/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_rbtree/Makefile -------------------------------------------------------------------------------- /eg_rbtree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_rbtree/README.md -------------------------------------------------------------------------------- /eg_rbtree/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d0u9/Linux-Device-Driver/HEAD/eg_rbtree/main.c --------------------------------------------------------------------------------