rearraged files, set up to use grub bootloader

This commit is contained in:
2026-06-10 18:28:33 -05:00
parent 0f8d5f8ce7
commit eb1e096bac
19 changed files with 270 additions and 386 deletions

28
kernel/linker.ld Normal file
View File

@@ -0,0 +1,28 @@
ENTRY(_start)
SECTIONS
{
. = 2M;
.text BLOCK(4K) : ALIGN(4K)
{
*(.multiboot)
*(.text)
}
.rodata BLOCK(4K) : ALIGN(4K)
{
*(.rodata)
}
.data BLOCK(4K) : ALIGN(4K)
{
*(.data)
}
.bss BLOCK(4K) : ALIGN(4K)
{
*(COMMON)
*(.bss)
}
}