summaryrefslogtreecommitdiff
path: root/samples/rust/rust_miscdev.rs (follow)
Commit message (Expand)AuthorAgeFilesLines
* rust: rename `Ref` to `Arc`Wedson Almeida Filho2022-10-051-8/+8
* rust: take str literal instead bstr literal in `module!` macroGary Guo2022-08-051-4/+4
* rust: use `#[vtable]` for `kernel::file::Operations`Gary Guo2022-07-051-2/+1
* treewide: use `GPL` as the license string instead of `GPL v2`Miguel Ojeda2022-05-271-1/+1
* rust: rename `KernelModule` to `Module`Wedson Almeida Filho2022-03-281-1/+1
* rust: move error codes to the `error::code` moduleWedson Almeida Filho2022-03-151-2/+2
* rust: move `file_operations::FileOperations` into `file::Operations`Wedson Almeida Filho2022-03-151-3/+2
* rust: rename `FileOperations::Wrapper` to `FileOperations::Data`Wedson Almeida Filho2022-03-151-2/+2
* rust: miscdev: support names created at runtimeWedson Almeida Filho2022-02-161-1/+1
* treewide: update/normalize comment styleMiguel Ojeda2022-02-111-1/+1
* rust: add optional parameters to the registration of misc devicesWedson Almeida Filho2022-01-241-1/+1
* rust: avoid the need of crate attributes in kernel modulesMiguel Ojeda2022-01-201-3/+0
* rust: simplify file operations by removing `FileOpener`Wedson Almeida Filho2022-01-111-10/+8
* rust: add `&File` argument to `open` callback.Wedson Almeida Filho2021-11-291-1/+1
* rust: use generic associated types (GATs) to implement `PointerWrapper`.Wedson Almeida Filho2021-11-171-3/+3
* rust: remove all usages of `try_new_and_init` and `pin_init_and_share`.Wedson Almeida Filho2021-11-151-17/+17
* 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-121-2/+0
|/
* rust: improve `KernelModule` initialisation.Wedson Almeida Filho2021-11-081-3/+4
* rust: use `impl` syntactic sugar to simplify read/write.Wedson Almeida Filho2021-08-111-4/+4
* rust: prelude: graduate `Box`, `Arc`, `Vec`, `Pin` and `Error`Miguel Ojeda2021-07-021-3/+0
* rust: require mutable references when initialising sync primitives.Wedson Almeida Filho2021-06-271-5/+5
* rust: remove `Arc` from rust samples.Wedson Almeida Filho2021-06-251-23/+26
* rust: update `FileOperations` to use arbitrary type from `PointerWrapper`.Wedson Almeida Filho2021-06-231-15/+21
* rust/samples: miscdev: eliminate `unsafe` blockSven Van Asbroeck2021-05-261-11/+8
* rust: CStr overhaulGary Guo2021-05-261-2/+2
* rust: make SharedState::try_new() return a pinned ArcAyaan Zaidi2021-05-231-11/+14
* Rename `KernelResult` to just `Result`.Wedson Almeida Filho2021-05-111-10/+5
* Merge pull request #234 from Kloenk/improved_macroMiguel Ojeda2021-05-011-2/+0
|\
| * Remove unused params from module! macro callsFinn Behrens2021-04-291-2/+0
* | Move `File` to its own module.Wedson Almeida Filho2021-04-301-1/+2
|/
* Generalise `read` and `write`.Wedson Almeida Filho2021-04-271-3/+7
* Introduce a new `io_buffer` module.Wedson Almeida Filho2021-04-271-0/+1
* Remove non-prefixed printing macrosMiguel Ojeda2021-04-131-2/+2
* Merge pull request #120 from ojeda/rust-printkMiguel Ojeda2021-04-111-2/+2
|\
| * New printing supportMiguel Ojeda2021-04-111-2/+2
* | Remove `feature(test)` from most samples.Miguel Ojeda2021-04-111-1/+0
|/
* SamplesMiguel Ojeda2021-04-091-0/+146