feat: start adding physical memory allocator
This commit is contained in:
parent
8dc53f662e
commit
e2ea22ad53
15 changed files with 440 additions and 38 deletions
|
|
@ -39,6 +39,13 @@ SECTIONS
|
|||
.rodata : AT(ADDR(.rodata) - high_base) {
|
||||
__rodata_start__ = .;
|
||||
*(EXCLUDE_FILE(*trampoline*) .rodata)
|
||||
__reserved_ranges_start__ = .;
|
||||
KEEP(*(.reserved_ranges))
|
||||
__reserved_ranges_end__ = .;
|
||||
__init_array_start__ = .;
|
||||
KEEP(*(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*)))
|
||||
KEEP(*(.init_array .ctors))
|
||||
__init_array_end__ = .;
|
||||
__rodata_end__ = .;
|
||||
} > HIGH_KERNEL_V
|
||||
.data : AT(ADDR(.data) - high_base) {
|
||||
|
|
@ -46,11 +53,6 @@ SECTIONS
|
|||
*(EXCLUDE_FILE(*trampoline*) .data)
|
||||
__data_end__ = .;
|
||||
} > HIGH_KERNEL_V
|
||||
.reserved_ranges : AT(ADDR(.reserved_ranges) - high_base) {
|
||||
__reserved_ranges_start__ = .;
|
||||
KEEP(*(.reserved_ranges))
|
||||
__reserved_ranges_end__ = .;
|
||||
} > HIGH_KERNEL_V
|
||||
.bss (NOLOAD) : AT(ADDR(.bss) - high_base) {
|
||||
__bss_start__ = .;
|
||||
*(EXCLUDE_FILE(*trampoline*) .bss)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue