mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
Kernel: Remove "stale callback" concept from time management
If a hardware timer doesn't have a callback registered, it's now simply represented by a null m_callback.
This commit is contained in:
parent
4b1f056e3a
commit
b035267afa
6 changed files with 7 additions and 11 deletions
|
@ -58,7 +58,7 @@ public:
|
|||
private:
|
||||
void set_new_countdown();
|
||||
virtual void handle_irq(const RegisterState&) override;
|
||||
HPETComparator(u8 number, u8 irq, bool periodic_capable, Function<void(const RegisterState&)> callback);
|
||||
HPETComparator(u8 number, u8 irq, bool periodic_capable);
|
||||
bool m_periodic : 1;
|
||||
bool m_periodic_capable : 1;
|
||||
bool m_edge_triggered : 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue