Initial commit: SUB-OS 64-Bit Production Monolithic Operating System with LazyBox userland suite

This commit is contained in:
subhobhai943 committed 2026-08-16 21:23:52 +05:30
commit cd9c786d14
88 files changed
+7132

No files matched your search

+41
View File
@@ -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 = .;
}