diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2025-12-09 00:57:38 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2025-12-09 00:57:38 +0800 |
| commit | c36e1b5e5e069ce1735dcc2a94aa45ba72ea2441 (patch) | |
| tree | 34be19b553615cfe36a556452e3b7ebad5276216 /linker.ld | |
| parent | 8cf8be522133548ee25fdcb0258ddf3950a68bcf (diff) | |
| download | lume-c36e1b5e5e069ce1735dcc2a94aa45ba72ea2441.tar.gz lume-c36e1b5e5e069ce1735dcc2a94aa45ba72ea2441.tar.xz | |
feat: Initial PMM implementation
Introduce the foundational Physical Memory Manager (PMM) and restructure the project for modularity.
Implemented basic PMM and related memory management headers (mm/pmm.h, mm/vm.h).
Updated Makefile and build process to support new modular structure.
Diffstat (limited to 'linker.ld')
| -rw-r--r-- | linker.ld | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/linker.ld b/linker.ld deleted file mode 100644 index 0b01e98..0000000 --- a/linker.ld +++ /dev/null @@ -1,47 +0,0 @@ -OUTPUT_ARCH( "riscv" ) -ENTRY(_start) - -MEMORY -{ - ram (wxa) : ORIGIN = 0x80000000, LENGTH = 128M -} - -SECTIONS -{ - . = 0x80000000; - - .text : { - PROVIDE(_text_start = .); - *(.text.entry) - *(.text .text.*) - PROVIDE(_text_end = .); - } > ram - - .rodata : { - . = ALIGN(16); - PROVIDE(_rodata_start = .); - *(.rodata .rodata.*) - PROVIDE(_rodata_end = .); - } > ram - - .data : { - . = ALIGN(16); - PROVIDE(_data_start = .); - *(.data .data.*) - *(.sdata .sdata.*) - PROVIDE(_data_end = .); - } > ram - - .bss : { - . = ALIGN(16); - PROVIDE(_bss_start = .); - *(.bss .bss.*) - *(.sbss .sbss.*) - PROVIDE(_bss_end = .); - } > ram - - . = ALIGN(4096); - PROVIDE(_stack_top = . + 0x8000); - . = . + 0x8000; - PROVIDE(_heap_start = .); -}
\ No newline at end of file |
