First commit: add folder structure, make process, kernel main function, base for framebuffer driver

This commit is contained in:
xamidev
2024-05-18 22:06:31 +02:00
commit 25405a7c11
21 changed files with 444 additions and 0 deletions

30
link.ld Normal file
View File

@@ -0,0 +1,30 @@
ENTRY(loader)
SECTIONS {
/* Address to load at; 1MB */
. = 0x00100000;
/* Align relevant sections at 4KB */
.text ALIGN (0x1000) :
{
*(.text)
}
.rodata ALIGN (0x1000) :
{
*(.rodata*)
}
.data ALIGN (0x1000) :
{
*(.data)
}
.bss ALIGN (0x1000) :
{
*(COMMON)
*(.bss)
}
}