Create kernel map during build
This commit is contained in:
parent
c1c05eb1d5
commit
7aeaabcfe3
|
@ -1,2 +1,3 @@
|
|||
obj/
|
||||
foxdos
|
||||
kernel.map
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue