mirror of
https://github.com/subhobhai943/SUB-OS.git
synced 2026-10-26 09:02:46 +00:00
Initial commit: SUB-OS 64-Bit Production Monolithic Operating System with LazyBox userland suite
This commit is contained in:
commit
cd9c786d14
88 files changed
+7132
No files matched your search
@@ -0,0 +1,41 @@
|
||||
ENTRY(kernel_entry)
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
/* Kernel starts at 1MB */
|
||||
. = 0x100000;
|
||||
|
||||
_kernel_start = .;
|
||||
|
||||
.text : ALIGN(4K)
|
||||
{
|
||||
*(.text*)
|
||||
}
|
||||
|
||||
.rodata : ALIGN(4K)
|
||||
{
|
||||
*(.rodata*)
|
||||
}
|
||||
|
||||
.data : ALIGN(4K)
|
||||
{
|
||||
*(.data*)
|
||||
}
|
||||
|
||||
.bss : ALIGN(4K)
|
||||
{
|
||||
PROVIDE(__bss_start = .);
|
||||
*(COMMON)
|
||||
*(.bss*)
|
||||
PROVIDE(__bss_end = .);
|
||||
}
|
||||
|
||||
.stack : ALIGN(4K)
|
||||
{
|
||||
PROVIDE(stack_bottom = .);
|
||||
. += 0x10000; /* 64 KB Dedicated Kernel Stack */
|
||||
PROVIDE(stack_top = .);
|
||||
}
|
||||
|
||||
_kernel_end = .;
|
||||
}
|
||||
Reference in new issue
Block a user