1
0
Fork 0
forked from AbleOS/ableos
ableos-idl/kernel/lds/aarch64-qemu.ld

30 lines
687 B
Plaintext
Raw Normal View History

2023-07-17 09:36:39 -05:00
ENTRY(_kernel_start)
SECTIONS
{
2023-07-17 09:36:39 -05:00
. = 0xffffffff80000000;
.text.boot : { *(.text.boot) }
.text : { *(.text) }
.data : { *(.data) }
2024-11-27 02:09:15 -06:00
.note.ktest : {
__ktest_start = .;
*(.note.ktest)
__ktest_end = .;
}
.rodata : { *(.rodata) }
2023-09-17 16:03:32 -05:00
.bss : {
*(COMMON)
*(.bss .bss.*)
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
. = ALIGN(8);
. = . + 0x4000;
LD_STACK_PTR = .;
2023-07-17 09:36:39 -05:00
}