Lines Matching +full:is +full:- +full:ram
2 * Copyright (c) 2019-2021 Intel Corp.
3 * SPDX-License-Identifier: Apache-2.0
6 #include <zephyr/linker/linker-defs.h>
7 #include <zephyr/linker/linker-tool.h>
9 #define ROMABLE_REGION RAM
10 #define RAMABLE_REGION RAM
16 * the kernel is just one blob with the same RWX permissions on all RAM
29 * The "locore" must be in the 64K of RAM, so that 16-bit code (with
30 * segment registers == 0x0000) and 32/64-bit code agree on addresses.
31 * ... there is no 16-bit code yet, but there will be when we add SMP.
50 /* Special page containing supervisor data that is still mapped in
52 * any LDT must go here as they always must live in a page that is
56 * On x86-64 the IDT is in rodata and doesn't need to be in the
72 ASSERT(z_shared_kernel_page_end - z_shared_kernel_page_start == 4096,
73 "shared kernel area is not one memory page");
80 _locore_size = _lorodata_start - _locore_start;
81 _lorodata_size = _lodata_start - _lorodata_start;
82 _lodata_size = _lodata_end - _lodata_start;
85 * The rest of the system is loaded in "normal" memory (typically
86 * placed above 1MB to avoid the by memory hole at 0x90000-0xFFFFF).
98 #include <zephyr/linker/kobject-text.ld>
104 __text_region_size = __text_region_end - __text_region_start;
107 #include <zephyr/linker/common-rom.ld>
108 /* Located in generated directory. This file is populated by calling
111 #include <snippets-rom-sections.ld>
112 #include <zephyr/linker/thread-local-storage.ld>
121 #include <snippets-rodata.ld>
130 #include <zephyr/linker/kobject-rom.ld>
133 #include <zephyr/linker/cplusplus-rom.ld>
137 __rodata_region_size = __rodata_region_end - __rodata_region_start;
148 _app_smem_size = _app_smem_end - _app_smem_start;
156 #include <snippets-ram-sections.ld>
170 . = ALIGN(4); /* so __bss_num_dwords is exact */
174 __bss_num_dwords = (__bss_end - __bss_start) >> 2;
176 #include <zephyr/linker/common-noinit.ld>
178 #include <snippets-sections.ld>
185 #include <snippets-rwdata.ld>
188 #include <zephyr/linker/common-ram.ld>
189 #include <zephyr/linker/cplusplus-ram.ld>
192 /* Located in generated directory. This file is populated by the
195 #include <snippets-data-sections.ld>
197 /* Must be last in RAM */
198 #include <zephyr/linker/kobject-data.ld>
202 #include <zephyr/linker/ram-end.ld>
208 __kernel_ram_size = __kernel_ram_end - __kernel_ram_start;
210 z_mapped_size = z_mapped_end - z_mapped_start;
212 #include <zephyr/linker/debug-sections.ld>
222 *(.note.GNU-stack)
227 * eh_frame section won't be removed even with "--gc-sections" by LLVM lld.
235 * with "--orphan-handling=warn" by LLVM lld.
244 #include <zephyr/linker/llext-sections.ld>