From d07bd08dd0446e8c41eccaccbb07e9112200e8ee Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Sun, 24 May 2026 11:09:31 +0000 Subject: rename and move, function renames in stdio --- kc/core/cpu/cpu.c | 4 ++-- kc/core/cpu/exceptions.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kc/core/cpu') 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 #include -#include +#include #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 +#include 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" -- cgit v1.3.1-1-g115d