]> git.dujemihanovic.xyz Git - nameless-os.git/commit
Compile stage3 in ELF format
authorDuje Mihanović <duje.mihanovic@skole.hr>
Sat, 18 Jun 2022 13:38:14 +0000 (15:38 +0200)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Wed, 22 Jun 2022 16:03:18 +0000 (18:03 +0200)
commit320a0c820a129a39cc6a8a383ea4e2770f3ee50b
tree39394d07bbc21b0ab9520ce02489bc2afe1db403
parent1d5cadb08919cd8d40b8303896319687540d9e0d
Compile stage3 in ELF format

During linking it gets converted to a good old flat binary. This was done so
that the ELF loading code can be written in C, which will save me plenty of
headaches later.

Also, since with ELF that's possible, stack space for stage3 is now reserved and
set up in a similar (same) fashion to the kernel.
boot/x86/Makefile
boot/x86/stage3/a20.s
boot/x86/stage3/e820.s
boot/x86/stage3/gdt.s
boot/x86/stage3/loader.s
boot/x86/stage3/print.s
boot/x86/stage3/stage3.ld [new file with mode: 0644]
boot/x86/stage3/unreal.s