summaryrefslogtreecommitdiff
path: root/samples/rust/rust_semaphore.rs (follow)
Commit message (Expand)AuthorAgeFilesLines
* rust: rename `Ref` to `Arc`Wedson Almeida Filho2022-10-051-5/+5
* 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-3/+2
* 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-3/+3
* 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-1/+1
* 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: require `Sync` and `Send` on file operations context dataWedson Almeida Filho2022-01-121-0/+1
* rust: simplify file operations by removing `FileOpener`Wedson Almeida Filho2022-01-111-8/+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-2/+2
* rust: remove all usages of `try_new_and_init` and `pin_init_and_share`.Wedson Almeida Filho2021-11-151-24/+21
* rust: add CStr & ThisModule to preludeMilan2021-11-121-2/+0
* rust: improve `KernelModule` initialisation.Wedson Almeida Filho2021-11-081-3/+5
* rust: use `impl` syntactic sugar to simplify read/write.Wedson Almeida Filho2021-08-111-2/+2
* rust: prelude: graduate `Box`, `Arc`, `Vec`, `Pin` and `Error`Miguel Ojeda2021-07-021-6/+1
* rust: require mutable references when initialising sync primitives.Wedson Almeida Filho2021-06-271-3/+3
* 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-251-22/+25
* 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-231-10/+8
* rust: CStr overhaulGary Guo2021-05-261-2/+2
* Rename `KernelResult` to just `Result`.Wedson Almeida Filho2021-05-111-13/+8
* Merge pull request #234 from Kloenk/improved_macroMiguel Ojeda2021-05-011-1/+0
|\
| * Remove unused params from module! macro callsFinn Behrens2021-04-291-1/+0
* | Move `File` to its own module.Wedson Almeida Filho2021-04-301-1/+2
|/
* Generalise `read` and `write`.Wedson Almeida Filho2021-04-271-2/+7
* Introduce a new `io_buffer` module.Wedson Almeida Filho2021-04-271-0/+1
* Remove release method that's the same as the default implAlex Gaynor2021-04-241-2/+0
* Remove non-prefixed printing macrosMiguel Ojeda2021-04-131-2/+2
* Normalize semaphore samples and add them to the CIMiguel Ojeda2021-04-111-4/+18
* Add comments.Wedson Almeida Filho2021-04-111-0/+11
* Add "semaphore" sample driver in C and Rust.Wedson Almeida Filho2021-04-101-0/+153