FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
linux_kernel_driver/example/driver_Lab2/README at master · HackLinux/linux_kernel_driver · GitHub
HackLinux
linux_kernel_driver
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
linux_kernel_driver
/
example
/
driver_Lab2
/
README
Copy path
More file actions
More file actions
Latest commit
History
History
History
11 lines (6 loc) · 204 Bytes
Breadcrumbs
linux_kernel_driver
/
example
/
driver_Lab2
/
README
Copy path
File metadata and controls
11 lines (6 loc) · 204 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
make -Wall -C /lib/modules/`uname -r`/build M=`pwd` modules
sudo insmod demo.ko
cat /proc/devices | ag demo
sudo mknod /dev/demo c 60 0 // 建立裝置檔案
cat /proc/devices | ag demo
sudo ./test
Back
|
FazBrowse Home
|
New Git URL