summaryrefslogtreecommitdiff
path: root/samples/rust (follow)
Commit message (Expand)AuthorAgeFilesLines
* samples: minimal: match upstreamMiguel Ojeda2022-10-181-5/+8
* rust: rename `Ref` to `Arc`Wedson Almeida Filho2022-10-053-17/+17
* Merge pull request #859 from nbdd0121/miscMiguel Ojeda2022-08-051-0/+1
|\
| * rust: add missing dependency to rust netfilter sampleGary Guo2022-08-051-0/+1
* | rust: take str literal instead bstr literal in `module!` macroGary Guo2022-08-0514-58/+58
|/
* rust: add `module_fs` macroWedson Almeida Filho2022-07-251-14/+2
* rust: allow fs driver to initialise new superblocksWedson Almeida Filho2022-07-191-1/+13
* rust: add support for file system parametersWedson Almeida Filho2022-07-141-0/+15
* rust: change `FileFlags` struct to `flags` moduleWedson Almeida Filho2022-07-121-2/+2
* Merge branch 'rust' into file_flags_typeWedson Almeida Filho2022-07-1222-54/+384
|\
| * rust: define fs contextWedson Almeida Filho2022-07-111-0/+13
| * sample: rust: Add a selftest moduleBoqun Feng2022-07-083-0/+107
| * rust: add ability to register a file systemWedson Almeida Filho2022-07-053-0/+40
| * rust: use `#[vtable]` for `kernel::file::Operations`Gary Guo2022-07-054-9/+5
| * samples/rust: add echo server sampleWedson Almeida Filho2022-07-013-0/+71
| * samples: rust: random: move `module!` macroMiguel Ojeda2022-05-281-8/+8
| * treewide: use `GPL` as the license string instead of `GPL v2`Miguel Ojeda2022-05-2712-12/+12
| * samples/rust: add netfilter sampleWedson Almeida Filho2022-03-283-0/+65
| * rust: rename `KernelModule` to `Module`Wedson Almeida Filho2022-03-288-8/+8
| * rust: move error codes to the `error::code` moduleWedson Almeida Filho2022-03-152-5/+5
| * rust: move `file_operations::FileOperations` into `file::Operations`Wedson Almeida Filho2022-03-154-11/+8
| * rust: rename `FileOperations::Wrapper` to `FileOperations::Data`Wedson Almeida Filho2022-03-152-3/+3
| * kbuild: support host programs written in RustMiguel Ojeda2022-03-037-0/+41
* | rust: file: Remove `is_blocking()` methodDaniel Xu2022-02-221-2/+3
|/
* rust: miscdev: support names created at runtimeWedson Almeida Filho2022-02-162-2/+2
* Merge pull request #655 from wedsonaf/sample-static-mutexWedson Almeida Filho2022-02-151-0/+15
|\
| * samples/rust: add static mutex and condvar to sync sampleWedson Almeida Filho2022-02-021-0/+15
* | treewide: update/normalize comment styleMiguel Ojeda2022-02-119-9/+9
|/
* rust: add optional parameters to the registration of misc devicesWedson Almeida Filho2022-01-242-2/+2
* rust: avoid the need of crate attributes in kernel modulesMiguel Ojeda2022-01-2010-31/+0
* samples/rust: add platform device driver sampleWedson Almeida Filho2022-01-133-0/+36
* rust: require `Sync` and `Send` on file operations context dataWedson Almeida Filho2022-01-123-6/+7
* rust: simplify file operations by removing `FileOpener`Wedson Almeida Filho2022-01-114-21/+25
* rust: add `&File` argument to `open` callback.Wedson Almeida Filho2021-11-292-2/+2
* rust: use generic associated types (GATs) to implement `PointerWrapper`.Wedson Almeida Filho2021-11-172-5/+5
* rust: remove all usages of `try_new_and_init` and `pin_init_and_share`.Wedson Almeida Filho2021-11-152-41/+38
* Merge pull request #552 from wedsonaf/pin-refWedson Almeida Filho2021-11-151-7/+7
|\
| * rust: remove instances of `Pin<Ref<T>>`.Wedson Almeida Filho2021-11-151-7/+7
* | rust: add CStr & ThisModule to preludeMilan2021-11-127-10/+4
|/
* rust: improve `KernelModule` initialisation.Wedson Almeida Filho2021-11-088-20/+24
* rust: use `impl` syntactic sugar to simplify read/write.Wedson Almeida Filho2021-08-113-8/+8
* rust: prelude: graduate `Box`, `Arc`, `Vec`, `Pin` and `Error`Miguel Ojeda2021-07-024-13/+1
* rust: kernel: use the new `try_*` methodsMiguel Ojeda2021-07-011-1/+1
* rust: require mutable references when initialising sync primitives.Wedson Almeida Filho2021-06-273-16/+17
* rust: fix bug where unsafe expressions didn't require unsafe block.Wedson Almeida Filho2021-06-261-2/+4
* rust: remove `Arc` from rust samples.Wedson Almeida Filho2021-06-252-45/+51
* rust: update `IoctlHandler` to allow arbitrary type as well.Wedson Almeida Filho2021-06-231-4/+6
* rust: update `FileOperations` to use arbitrary type from `PointerWrapper`.Wedson Almeida Filho2021-06-233-27/+31
* Update to a new nightly versionBoris-Chengbiao Zhou2021-05-291-1/+1
* rust: remove `pr_cont` from preludeGary Guo2021-05-271-0/+1