From 4c59f7360514aa6c67ba2fbaa09d4cc9e3139957 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 20 May 2017 11:18:45 +0200 Subject: documented early GDT in assembly (following Nick Bundells osdev guide). renamed gdt.asm to boot_gdt.asm (because later we will have a gdt.asm when playing with memory managers and process isolation). This boot sequence is for legacy machines, for UEFI and multiboot kernels the whole thing looks different --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 34b1cb4..8507c72 100644 --- a/src/Makefile +++ b/src/Makefile @@ -19,7 +19,7 @@ image.bin: boot.bin kernel.bin magic.bin truncate -s 8192 image.tmp cat image.tmp magic.bin > image.bin -boot.bin: boot.asm gdt.asm stage1_functions.asm stage2_functions.asm switch_mode.asm +boot.bin: boot.asm boot_gdt.asm stage1_functions.asm stage2_functions.asm switch_mode.asm $(NASM) boot.asm -DMAGIC='"$(MAGIC)"' -f bin -o boot.bin kernel.bin: kernel.elf -- cgit v1.2.3-54-g00ecf