Begin work on rust versions of modules
This commit is contained in:
parent
1f2cc50f26
commit
91f8ca7f49
23 changed files with 53 additions and 9 deletions
10
README.md
10
README.md
|
@ -18,7 +18,14 @@ On other distros:
|
|||
|
||||
2. With nix only, use `nix develop .#other`
|
||||
|
||||
3. Otherwise, you need to setup LINUX_MODULES_FOLDER to linux modules folder of your distro (ex: `/lib/modules/$(uname -r)`) in your shell (ex: .bashrc)
|
||||
3. Otherwise, you need `kernel-devel` to compile C code and `rust rust-src bindgen-cli rustfmt clippy` to compile rust
|
||||
And also to setup LINUX_MODULES_FOLDER to linux modules folder of your distro (ex: `/lib/modules/$(uname -r)`) in your shell (ex: .bashrc)
|
||||
|
||||
### Note for Rust
|
||||
|
||||
`cat /boot/config-$(uname -r) | grep CONFIG_RUST`
|
||||
|
||||
Must contains CONFIG_RUST=y
|
||||
|
||||
## make : targets list
|
||||
|
||||
|
@ -55,6 +62,7 @@ sudo rmmod [module_name].ko
|
|||
- https://elixir.bootlin.com/linux/v6.13/source/
|
||||
- https://static.lwn.net/images/pdf/LDD3/ch01.pdf
|
||||
- https://sysprog21.github.io/lkmpg
|
||||
- https://github.com/Rust-for-Linux/rust-out-of-tree-module
|
||||
|
||||
## Notes
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue