mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:08:12 +00:00
![]() * Change the register structures to use the volatile keyword explicitly on the register values. This avoids accidentally omitting it as any access will be guaranteed volatile. * Don't assume we can read/write 64 bit value to the main counter and the comparator. Not all HPET implementations may support this. So, just use 32 bit words to access the registers. This ultimately works around a bug in Bochs 2.6.11 that loses 32 bits of a 64 bit write to a timer's comparator register (it internally writes one half and clears the Tn_VAL_SET_CNF bit, and then because it's cleared it fails to write the second half). * Properly calculate the tick duration in calculate_ticks_in_nanoseconds * As per specification, changing the frequency of one periodic timer requires a restart of all periodic timers as it requires the main counter to be reset. |
||
---|---|---|
.. | ||
APICTimer.cpp | ||
APICTimer.h | ||
HardwareTimer.h | ||
HPET.cpp | ||
HPET.h | ||
HPETComparator.cpp | ||
HPETComparator.h | ||
PIT.cpp | ||
PIT.h | ||
RTC.cpp | ||
RTC.h | ||
TimeManagement.cpp | ||
TimeManagement.h |