2023-07-17 09:36:39 -05:00
|
|
|
ENTRY(_kernel_start)
|
|
|
|
|
2023-07-14 19:38:13 -05:00
|
|
|
SECTIONS
|
|
|
|
{
|
2023-07-17 09:36:39 -05:00
|
|
|
. = 0xffffffff80000000;
|
2023-07-14 19:38:13 -05:00
|
|
|
.text.boot : { *(.text.boot) }
|
|
|
|
.text : { *(.text) }
|
|
|
|
.data : { *(.data) }
|
|
|
|
.rodata : { *(.rodata) }
|
2023-09-17 16:03:32 -05:00
|
|
|
.bss : {
|
|
|
|
*(COMMON)
|
|
|
|
*(.bss .bss.*)
|
2023-07-14 19:38:13 -05:00
|
|
|
|
2023-09-17 16:03:32 -05:00
|
|
|
/* Align initial kernel heap to page boundary */
|
|
|
|
. = ALIGN(4K);
|
|
|
|
PROVIDE(_initial_kernel_heap_start = .);
|
|
|
|
/* PROVIDE(_initial_kernel_heap_size = 1024 * 1024); */
|
|
|
|
PROVIDE(_initial_kernel_heap_size = 1024 * 4096 * 100);
|
|
|
|
. += _initial_kernel_heap_size;
|
|
|
|
} :data
|
2023-07-14 19:38:13 -05:00
|
|
|
. = ALIGN(8);
|
|
|
|
. = . + 0x4000;
|
|
|
|
LD_STACK_PTR = .;
|
2023-07-17 09:36:39 -05:00
|
|
|
}
|