diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-06-02 17:32:08 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-06-02 17:32:08 +0200 |
| commit | 3274bb4377b9f04b7a70139a86283e0fae44b228 (patch) | |
| tree | face2b0b544578e5efd1c28c8d75b3307d6e4a8a /arch | |
| parent | e92df52c599f78f36a278508a2b6be5f3a15f3db (diff) | |
| parent | 46d3f8978e9f4235064daf5f19de5bf3054e7c24 (diff) | |
| download | kernel-3274bb4377b9f04b7a70139a86283e0fae44b228.tar.xz kernel-3274bb4377b9f04b7a70139a86283e0fae44b228.zip | |
Merge branch 'fmorgner/develop-BA-FS26/dynamic-fs' into 'develop-BA-FS26'
Add support infrastructure for automatic file system registration
See merge request teachos/kernel!46
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/x86_64/scripts/kernel.ld | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86_64/scripts/kernel.ld b/arch/x86_64/scripts/kernel.ld index a429570..dbb0f8f 100644 --- a/arch/x86_64/scripts/kernel.ld +++ b/arch/x86_64/scripts/kernel.ld @@ -72,6 +72,12 @@ SECTIONS .kernel_rodata ALIGN(4K) : AT (ADDR (.kernel_rodata) - TEACHOS_VMA) { *(.rodata*) + + . = ALIGN(8); + + PROVIDE(__start_fs_types = .); + KEEP(*(fs_types)); + PROVIDE(__stop_fs_types = .); } :kernel_rodata .kernel_data ALIGN(4K) : AT (ADDR (.kernel_data) - TEACHOS_VMA) |
