Expand description
Support for Arm Generic Timer
See Chapter G6: The Generic Timer in AArch32 State in ARM Architecture Reference Manual v8.
The Generic Timer existed in Armv7-A as well, but not in Armv7-R.
Structs§
- El0Physical
Timer - Represents our Generic Physical Timer when we are running at EL0.
- El0Virtual
Timer - Represents our Generic Virtual Timer when we are running at EL0.
- El1Physical
Timer - Represents our Physical Timer when we are running at EL1.
- El1Virtual
Timer - Represents our Virtual Timer when we are running at EL1.
- El2Hyp
Physical Timer - Represents our Hypervisor-specific Physical Timer when we are running at EL1.
- El2Physical
Timer - Represents our Physical Timer when we are running at EL2.
- El2Virtual
Timer - Represents our Virtual Timer when we are running at EL1.
- Event
Config - Describes the configuration for an Edvent
Enums§
Traits§
- Generic
Timer - Describes either a Physical or Virtual timer
Functions§
- read_
physical_ timer - A free-standing function to get the current Physical Timer value
- read_
virtual_ timer - A free-standing function to get the current Virtual Timer value