zephyr/arch
Ederson de Souza 8ac6f74a7d arch/xtensa: Enable code relocation
Besides adding ARCH_HAS_CODE_DATA_RELOCATION, this patch also adds
support for the "sample_controller" SoC (used by qemu_xtensa) as
demonstration.

As Xtensa lacks a common linker script at the arch level, enabling it
for each platform will be a piecemeal effort. This patch adds it to the
`soc/xtensa/sample_controller` SoC. Basically, default RAMABLE_REGION is
set to be called "RAM", and hooks are inserted so that
gen_relocate_app.py can add the relevant linker bits.

Also, `tests/application_developent/code_relocation` was tweaked to
support the qemu_xtensa platform. Basically, add the relevant linker
script and ensure that relevant memory regions have their program header
(PHDR) associated.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2022-11-03 10:25:07 +01:00
..
arc arch: arc: Convert to CONFIG_MP_MAX_NUM_CPUS 2022-11-02 14:35:32 -04:00
arm smp: Move arrays to use CONFIG_MP_MAX_NUM_CPUS 2022-10-17 14:40:12 +09:00
arm64 arm64: Add comment that arch_curr_cpu and get_cpu must be synced 2022-11-02 16:08:00 -05:00
common include: add missing irq.h include 2022-10-11 18:05:17 +02:00
mips include: types: remove ulong_t 2022-09-06 18:16:33 +02:00
nios2 arch: comply to coding guidelines MISRA C:2012 Rule 14.4 2022-07-20 09:28:38 -05:00
posix arch: posix: Add defaults for recommended stack sizes 2022-10-11 15:22:57 +02:00
riscv Revert "riscv: PMP-based stack guard is incompatible with stack sentinel" 2022-10-25 10:53:34 +02:00
sparc SPARC: reduce z_thread_entry_wrapper 2022-08-03 12:05:49 +02:00
x86 drivers: pcie: reintroduce support for I/O BARs 2022-11-01 15:22:31 -04:00
xtensa include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
CMakeLists.txt
Kconfig arch/xtensa: Enable code relocation 2022-11-03 10:25:07 +01:00