summaryrefslogtreecommitdiff
path: root/kc/core/pit8253.c
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2026-05-24 11:09:31 +0000
committerAda Christine <adachristine18@gmail.com>2026-05-24 11:09:31 +0000
commitd07bd08dd0446e8c41eccaccbb07e9112200e8ee (patch)
tree742a3f9d9d84c8ee55858b2ebc7e0e0f8c714c7c /kc/core/pit8253.c
parent9aaf21bf10d00ec12b24499817e3e91dca08c461 (diff)
rename and move, function renames in stdio
Diffstat (limited to 'kc/core/pit8253.c')
-rw-r--r--kc/core/pit8253.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kc/core/pit8253.c b/kc/core/pit8253.c
index 360808f..31cf349 100644
--- a/kc/core/pit8253.c
+++ b/kc/core/pit8253.c
@@ -5,7 +5,7 @@
#include <stdatomic.h>
-#include <lib/kstdio.h>
+#include <libc/stdio.h>
#define PIT8253_DATA0 0x40
#define PIT8253_CMD 0x43
@@ -82,9 +82,9 @@ void pit8253_set_frequency(uint32_t frequency)
if (d > UINT16_MAX)
{
- kprintf("warning: %uHz is too slow for 8253 pit\n", PIT_HZ/d);
+ printf("warning: %uHz is too slow for 8253 pit\n", PIT_HZ/d);
d = UINT16_MAX;
- kprintf("warning: set timer to minimum frequency\n");
+ printf("warning: set timer to minimum frequency\n");
}
set_divisor(d);