Expand description
A kernel spinlock.
This module allows Rust code to use the kernel’s spinlock_t.
Macros§
- Creates a
SpinLockinitialiser with the given name and a newly-created lock class. - Creates a
SpinLockIrqinitialiser with the given name and a newly-created lock class.
Structs§
- A kernel
spinlock_tlock backend. - A kernel
spinlock_tlock backend that can only be acquired in interrupt disabled contexts.
Type Aliases§
- A spinlock.
- A variant of
SpinLockthat ensures interrupts are disabled in the critical section.