ref: a05bab362f66ddd6fa65f2e7cda9eaaa0217ec08
parent: 999e98b9b856ae4fc75b3ad33783488e33cdd426
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Jan 17 16:21:12 EST 2021
pc, pc64: add minimal HPET driver to measure LAPIC and TSC frequencies This adds the new function pointer PCArch.clockinit(), which is a timer dependent initialization routine. It also takes over the job of guesscpuhz(). This way, the architecture ident code can switch between different timers (i8253, HPET and XEN timer).