mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:57:45 +00:00
Revert "Kernel: Fix HPET timer structure layout"
This reverts commit af22204488
.
According to the HPET specification, each theoretical comparator takes
32 bytes in the MMIO space.
Although I hardly believe that any system will implement all 32
comparators, in practice if a machine happens to have more than 3
comparators, we need to address the comparators correctly if we want to
use them.
This commit is contained in:
parent
4ae3bfa40d
commit
bbe1d7e239
2 changed files with 18 additions and 33 deletions
|
@ -75,7 +75,7 @@ private:
|
|||
void global_disable();
|
||||
void global_enable();
|
||||
|
||||
bool is_periodic_capable(u8 comparator_number);
|
||||
bool is_periodic_capable(u8 comparator_number) const;
|
||||
void set_comparators_to_optimal_interrupt_state(size_t timers_count);
|
||||
|
||||
u64 nanoseconds_to_raw_ticks() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue