This commit is contained in:
2026-09-17 03:19:43 +02:00
parent 6719239036
commit 27fe15f83d
85 changed files with 945 additions and 901 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ bool clock_switch(struct clock* clock) {
}
}
kprintf("Switching to clock source \"%s\"\n", clock->name);
log("clock", "Switching to clock source \"%s\"\n", clock->name);
uint64_t elapsed = clock_get_elapsed_ns();
counter_base += elapsed;
@@ -43,7 +43,7 @@ bool clock_switch(struct clock* clock) {
void clock_spin_ns(uint64_t ns) {
if (active_clock == nullptr) {
kprintf("Unable to sleep for %lu ns, no clock available!\n", ns);
log("clock", "Unable to sleep for %lu ns, no clock available!\n", ns);
return;
}