summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-05-20 11:18:45 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-05-20 11:18:45 +0200
commit4c59f7360514aa6c67ba2fbaa09d4cc9e3139957 (patch)
treea94058e9991cee41903e0685825faaa1f2c2074b /src/Makefile
parente82a5474b7d50e313a3a9022841744914bdef78d (diff)
downloadabaos-4c59f7360514aa6c67ba2fbaa09d4cc9e3139957.tar.gz
abaos-4c59f7360514aa6c67ba2fbaa09d4cc9e3139957.tar.bz2
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
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
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