mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 23:18:21 +00:00
tsc: initial implementation of timekeeper source
This commit is contained in:
@@ -152,6 +152,7 @@ static timekeeper_source_info_t *hpet_init(void) {
|
||||
|
||||
}
|
||||
|
||||
// ran in at least IPL_DPC
|
||||
time_t hpet_ticks(timekeeper_source_info_t *) {
|
||||
if (hpet_private.type == TYPE_64BIT) {
|
||||
return read64(HPET_REG_COUNTER);
|
||||
|
||||
Reference in New Issue
Block a user