Feat: CPU Exceptions and load errors are now shown.

This commit is contained in:
AfonsoCMSousa
2025-11-18 22:58:28 +00:00
parent c1068d34e2
commit 9e4224793b
7 changed files with 692 additions and 238 deletions
+16 -26
View File
@@ -1,36 +1,26 @@
/* Linker script for SoraOS kernel */
OUTPUT_FORMAT(binary)
ENTRY(_start)
SECTIONS
{
/* Set the location counter to 0x100000 (1MB) */
. = 0x100000;
/* Kernel loaded at 0x10000 (64KB) by stage2 bootloader */
. = 0x10000;
.multiboot :
{
KEEP(*(.multiboot))
}
.text : {
*(.text)
}
/* Define the .text section at the current location */
.text :
{
/* Put all .text sections from all input files here */
*(.text)
}
.rodata : {
*(.rodata)
}
/* Define the .data section immediately after .text */
.data :
{
/* Put all .data sections §from all input files here */
*(.data)
}
.data : {
*(.data)
}
/* Define the .bss section immediately after .data */
.bss :
{
/* Put all .bss sections from all input files here */
*(.bss)
}
/* End of the linker script */
.bss : {
*(.bss)
*(COMMON)
}
}