summaryrefslogtreecommitdiff
path: root/kc/core/cpu
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/cpu
parent9aaf21bf10d00ec12b24499817e3e91dca08c461 (diff)
rename and move, function renames in stdio
Diffstat (limited to 'kc/core/cpu')
-rw-r--r--kc/core/cpu/cpu.c4
-rw-r--r--kc/core/cpu/exceptions.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/kc/core/cpu/cpu.c b/kc/core/cpu/cpu.c
index f61ed00..0eaccb7 100644
--- a/kc/core/cpu/cpu.c
+++ b/kc/core/cpu/cpu.c
@@ -10,7 +10,7 @@
#include <stddef.h>
#include <stdint.h>
-#include <lib/kstdio.h>
+#include <libc/stdio.h>
#define GDT_ENTRIES 16
#define IDT_ENTRIES 256
@@ -53,7 +53,7 @@ uint64_t *get_tss_rsp0(void)
static void syscall_entry(void)
{
- kprintf("system call\n");
+ printf("system call\n");
halt();
}
diff --git a/kc/core/cpu/exceptions.h b/kc/core/cpu/exceptions.h
index 7babb65..14a2088 100644
--- a/kc/core/cpu/exceptions.h
+++ b/kc/core/cpu/exceptions.h
@@ -21,7 +21,7 @@
#ifndef __ASSEMBLER__
-#include <lib/kstdio.h>
+#include <libc/stdio.h>
struct isr_context_param_regs
{
@@ -53,7 +53,7 @@ struct isr_context
static inline void print_exception_context(struct isr_context *context)
{
- kprintf(
+ printf(
"exception %#hhx:%x context:\n"
"interrupt entry state:\n"
"rip: %#hx:%p rflags: %#0.16lx\n"