mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
Kernel: Rename HardwareTimer::m_function_to_call => m_callback
This commit is contained in:
parent
1e89f7d64e
commit
4b1f056e3a
2 changed files with 10 additions and 5 deletions
|
@ -40,7 +40,8 @@ enum class HardwareTimerType {
|
|||
HighPrecisionEventTimer = 0x3 /* also known as IA-PC HPET */
|
||||
};
|
||||
|
||||
class HardwareTimer : public RefCounted<HardwareTimer>
|
||||
class HardwareTimer
|
||||
: public RefCounted<HardwareTimer>
|
||||
, public IRQHandler {
|
||||
public:
|
||||
virtual HardwareTimerType timer_type() const = 0;
|
||||
|
@ -67,6 +68,7 @@ protected:
|
|||
u64 m_frequency { OPTIMAL_TICKS_PER_SECOND_RATE };
|
||||
|
||||
private:
|
||||
Function<void(const RegisterState&)> m_function_to_call;
|
||||
Function<void(const RegisterState&)> m_callback;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue