Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
4etell authored Jan 23, 2022
1 parent 0941069 commit 3eb2441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Linux Device Driver
### Introduction
This is a simple example of using procfs in the device drivers. A user-level program receives input command-line arguments to identify the required path to the target structure(task_struct or pt_regs) from the system tables, transfers it to the kernel level, gets information from this structure and prints the structure. The kernel module code in the **driver.c** file. User application code in the **usr.c** file.
This is a simple example of using procfs in the device drivers. A user-level program receives input command-line arguments to identify the required path to the target structure(task_struct or pt_regs) from the system tables, transfers it to the kernel level, gets information from this structure and prints the structure. The kernel module code in the **[driver.c](driver.c)** file. User application code in the **[usr.c](usr.c)** file.
### Building and Using driver
1. Build the driver by using Makefile (**sudo make**)
2. Load the driver using **sudo insmod driver.ko**
Expand Down

0 comments on commit 3eb2441

Please sign in to comment.