From 2ce0f8af51dae9e7d591ff5fd038f89d6ca9dbbe Mon Sep 17 00:00:00 2001
From: Danny Holman <dholman@gymli.org>
Date: Sat, 24 Feb 2024 14:44:38 -0600
Subject: arch: i386: cleanup everything and reorganize

Clean up everything in the i386 arch directory. This code has been in
dire need of refactoring for a long while. All the inline assembly
functions and the data structures related to the architecture should be
placed into their own header file. Now the scheduler can access
registers and ISRs without having to deal with arch-specific code.

Signed-off-by: Danny Holman <dholman@gymli.org>
---
 arch/i386/make.config | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'arch/i386/make.config')

diff --git a/arch/i386/make.config b/arch/i386/make.config
index 9d74c33..91b665d 100644
--- a/arch/i386/make.config
+++ b/arch/i386/make.config
@@ -4,9 +4,9 @@ KERNEL_ARCH_LDFLAGS=
 KERNEL_ARCH_LIBS=
 
 KERNEL_ARCH_OBJS=$(ARCHDIR)/boot/boot.o \
-                 $(ARCHDIR)/boot/isr.o \
-                 $(ARCHDIR)/boot/idt.o \
-                 $(ARCHDIR)/boot/gdt.o \
+                 $(ARCHDIR)/kernel/idt.o \
+                 $(ARCHDIR)/kernel/gdt.o \
+                 $(ARCHDIR)/kernel/isr.o \
                  $(ARCHDIR)/kernel/framebuffer.o \
                  $(ARCHDIR)/kernel/multiboot.o \
                  $(ARCHDIR)/kernel/keyboard.o \
-- 
cgit v1.2.3