mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
Kernel/aarch64: Implement HardwareTimer for RPi::Timer
This makes the RPi::Timer suitable for use in the TimeManagement code.
This commit is contained in:
parent
de0bb99893
commit
83b95c135e
3 changed files with 77 additions and 19 deletions
|
@ -17,7 +17,10 @@ enum class HardwareTimerType {
|
|||
i8253 = 0x1, /* PIT */
|
||||
RTC = 0x2, /* Real Time Clock */
|
||||
HighPrecisionEventTimer = 0x3, /* also known as IA-PC HPET */
|
||||
LocalAPICTimer = 0x4 /* Local APIC */
|
||||
LocalAPICTimer = 0x4, /* Local APIC */
|
||||
#if ARCH(AARCH64)
|
||||
RPiTimer = 0x5
|
||||
#endif
|
||||
};
|
||||
|
||||
template<typename InterruptHandlerType>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue