1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-22 16:16:16 +04:00
rCore/modules/hello_rust
gjz010 7b8252eb1b Basic loadable kernel module support, with a module template written in Rust.
Under aarch64 and x86_64, hello_rust can be built and loaded by `/busybox insmod hello_rust.ko`.
2019-06-07 20:59:51 +08:00
..
src Basic loadable kernel module support, with a module template written in Rust. 2019-06-07 20:59:51 +08:00
build-aarch64.sh Basic loadable kernel module support, with a module template written in Rust. 2019-06-07 20:59:51 +08:00
build.rs Basic loadable kernel module support, with a module template written in Rust. 2019-06-07 20:59:51 +08:00
build.sh Basic loadable kernel module support, with a module template written in Rust. 2019-06-07 20:59:51 +08:00
Cargo.toml Basic loadable kernel module support, with a module template written in Rust. 2019-06-07 20:59:51 +08:00
lkm_info.txt Basic loadable kernel module support, with a module template written in Rust. 2019-06-07 20:59:51 +08:00
README.txt Basic loadable kernel module support, with a module template written in Rust. 2019-06-07 20:59:51 +08:00

rCore Kernel Module Template: Rust
This may be a good startpoint for developing your own kernel module. Just copy the folder and start your work.
Known problems:
- You have to execute the given build script.
- The kernel and the module have to follow the same toolchain strictly. This means you are likely to rebuild the module after you build the kernel with the same tool.
  This makes developing "portable" kernel module a severe problem, although not rebuilding the module rarely cause problems.