Start cleaning up kernel assembly mixins & start ISR/interrupts

This commit is contained in:
2021-08-22 19:22:48 -05:00
parent 9e4aaa56ba
commit 9904ac83d8
11 changed files with 261 additions and 21 deletions

View File

@@ -30,9 +30,9 @@ $(BUILD_DIR)/bootloader.bin: $(BOOTLOADER_DIR)/main16.asm
cd $(BOOTLOADER_DIR); nasm -f bin -o ../../build/bootloader.bin main16.asm
# Builds the kernel entry object file
$(BUILD_DIR)/kernel_entry.o: asm/boot.asm
$(BUILD_DIR)/kernel_entry.o: asm/kasm.asm
$(MKDIR_P) $(dir $@)
nasm asm/boot.asm -f elf -o $@
cd asm; nasm kasm.asm -f elf -o ../build/kernel_entry.o
# Build C++ sources
$(BUILD_DIR)/%.cpp.o: %.cpp