Module devices::register_space::register
source · Structs§
- Register is a thread safe struct. It can be safely changed from any thread.
- This represents a range of memory in the register space starting. Both from and to are inclusive.
- Spec for a regular register. It specifies it’s location on register space, guest writable mask and guest write to clear mask.
- A static register is a register inited by hardware. The value won’t change in it’s lifetime. All functions implemented on this one is thread safe.
Traits§
- Interface for register, as seen by guest driver.
- RegisterValue trait should be satisfied by register value types.
Functions§
Type Aliases§
- Type of offset in the register space.