diff options
author | Kimapr <kimapr@mail.ru> | 2023-12-22 23:17:20 +0500 |
---|---|---|
committer | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2023-12-22 23:47:50 +0100 |
commit | 277685222f41d717eed4c7c5a1a6dbc14370b116 (patch) | |
tree | 54481be966f3a1fe22b623e58bbc68254e3f82fe /stage3/clock.h | |
parent | 8ed1362368dc064fa35bf879c1f905165b990de8 (diff) | |
download | cuddles-277685222f41d717eed4c7c5a1a6dbc14370b116.tar.xz |
clock driver etc
fancier monotonic clock: RTC interpolated with TSC
font cursor position access APIs
remove silly thread resume in main()
Diffstat (limited to 'stage3/clock.h')
-rw-r--r-- | stage3/clock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stage3/clock.h b/stage3/clock.h index f0255bc..1c6f817 100644 --- a/stage3/clock.h +++ b/stage3/clock.h @@ -8,8 +8,10 @@ #define RTC_RATE NANOSECONDS/RTC_FREQ extern u64 monoclock_rtc_time; +extern u64 monoclock_last_cycles; void clock_init(); +void clock_sync(); u64 clock_cycles(); u64 clock_monotonic_coarse(); |