summaryrefslogtreecommitdiff
path: root/stage3/interrupts.c
diff options
context:
space:
mode:
authorKimapr <kimapr@mail.ru>2023-12-22 23:17:20 +0500
committerLizzy Fleckenstein <lizzy@vlhl.dev>2023-12-22 23:47:50 +0100
commit277685222f41d717eed4c7c5a1a6dbc14370b116 (patch)
tree54481be966f3a1fe22b623e58bbc68254e3f82fe /stage3/interrupts.c
parent8ed1362368dc064fa35bf879c1f905165b990de8 (diff)
downloadcuddles-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/interrupts.c')
-rw-r--r--stage3/interrupts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stage3/interrupts.c b/stage3/interrupts.c
index 70b3e4a..e2dd148 100644
--- a/stage3/interrupts.c
+++ b/stage3/interrupts.c
@@ -201,6 +201,7 @@ void interrupt_handler(interrupt_frame *frame)
outb(0x70, 0x0C);
inb(0x71);
monoclock_rtc_time += RTC_RATE;
+ monoclock_last_cycles = clock_cycles();
} else {
if (queue_write.len == queue_write.cap) {
panic(S("queue exceeded\n"));