mirror of
https://github.com/rcore-os/rCore.git
synced 2024-11-23 08:26:17 +04:00
7b8252eb1b
Under aarch64 and x86_64, hello_rust can be built and loaded by `/busybox insmod hello_rust.ko`.
7 lines
500 B
Plaintext
7 lines
500 B
Plaintext
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.
|