Create kernel map during build

This commit is contained in:
Ry 2022-11-03 19:07:19 -07:00
parent c1c05eb1d5
commit 7aeaabcfe3
3 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
obj/
foxdos
kernel.map

View File

@ -22,4 +22,4 @@ $(TARGET): src/boot.s $(FILES)
cat obj/boot.o obj/kernel.o > $(TARGET)
clean:
rm -rf obj/ $(TARGET)
rm -rf obj/ $(TARGET) kernel.map

View File

@ -1,5 +1,7 @@
%include "config.s"
[map symbols kernel.map]
kjmp: ; MUST be a short jump due to loader config
jmp kernel_entry
%include "int21/int21.s"