summaryrefslogtreecommitdiff
path: root/src/linker.ld
AgeCommit message (Collapse)Author
2025-07-20Force alignment of kerne code.Carlos Maiolino
It should be aligned to 16-bits IIRC, forcing the kernel.asm to be alined to a 512 byte boundary should suffice Signed-off-by: Carlos Maiolino <[email protected]>
2025-07-17Start writing the kernel and add a linker scriptCarlos Maiolino
Move the code unders [BITS 32] label to its own file to be loaded as a kernel by the boot loader. Add a linker script to link the bootloader and the kernel in a single binary file. Add a build script to make it easier to use the cross compiler Update the Makefile to build everything and pack it into the os.bin Signed-off-by: Carlos Maiolino <[email protected]>