summaryrefslogtreecommitdiff
path: root/arch/i386/include/kernel
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2022-01-21 12:10:05 -0600
committerDanny Holman <dholman@gymli.org>2022-01-21 12:10:05 -0600
commit8cd22309667cf3da9c357e5b7dca43e8b6a2f9c0 (patch)
tree05a7e450a702a5fc744b4bd1f96abf1952ece566 /arch/i386/include/kernel
parentarch: i386: fix coding style issue (diff)
downloadbox-8cd22309667cf3da9c357e5b7dca43e8b6a2f9c0.tar.gz
box-8cd22309667cf3da9c357e5b7dca43e8b6a2f9c0.tar.zst
box-8cd22309667cf3da9c357e5b7dca43e8b6a2f9c0.zip
arch: i386: move non-critial files out of boot
Move all files not needed for the bootstrap process out of boot and into the main x86 source directory. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to '')
-rw-r--r--arch/i386/include/kernel/syscall.h (renamed from arch/i386/boot/syscall.h)4
-rw-r--r--arch/i386/include/kernel/vga.h (renamed from arch/i386/boot/vga.h)0
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/boot/syscall.h b/arch/i386/include/kernel/syscall.h
index 376fb7c..cded732 100644
--- a/arch/i386/boot/syscall.h
+++ b/arch/i386/include/kernel/syscall.h
@@ -5,5 +5,9 @@
void syscall_dispatch(struct isr_frame *frame);
void register_syscall(void *handler(struct isr_frame*), int num);
+void sys_stop(struct isr_frame *frame);
+void sys_status(struct isr_frame *frame);
+
+void dump_reg(struct isr_frame *frame);
#endif
diff --git a/arch/i386/boot/vga.h b/arch/i386/include/kernel/vga.h
index e89f202..e89f202 100644
--- a/arch/i386/boot/vga.h
+++ b/arch/i386/include/kernel/vga.h