Branch sync and push, reformated and made the OS look more "official"

This commit is contained in:
cowmonk 2025-04-17 21:32:48 -07:00
parent 13389f9617
commit 59e39d9842
9 changed files with 270 additions and 0 deletions

View file

@ -0,0 +1,25 @@
ENTRY(_start) /* Entry point symbol */
SECTIONS {
/* Load address in memory: 2MB for kernel */
. = 2M;
/* Multiboot header must be in the first 8KB of the file and 32-bit aligned */
.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)
}
}