First commit: add folder structure, make process, kernel main function, base for framebuffer driver
This commit is contained in:
30
link.ld
Normal file
30
link.ld
Normal 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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user