Description: The document' s function is to create a simple character device driver, compression bag containing module_hello and user_hello, which module_hello folder which contains the character-driven code and MakeFile hello.c file, compiled to generate the corresponding. Ko module user_hello is user program is compiled to generate the corresponding executable file, the executable file can be executed on the user' s corresponding character device for read and write operations.
To Search:
File list (Check if you may need any files):
character_hello\1\hello.c
...............\.\Makefile
...............\2\hello.c
...............\.\Makefile
...............\3\hello.c
...............\.\Makefile
...............\user_hello\main.c
...............\..........\Makefile
...............\1
...............\2
...............\3
...............\user_hello
character_hello