zephyr/arch/xtensa/core
Daniel Leung 9cadc8cbec xtensa: userspace: use ADDX4 to calculate syscall table index
When looking for jump address in the syscall table, we need to
multiply the syscall ID by 4 before adding the address offset
of the beginning of the table. This is due to the jump address
being 32-bit (4 bytes). Instead of using two instructions to
shift the ID by 4 first and then the addition, we can use one
ADDX4 instruction to achieve the same result.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-04-17 00:57:19 +02:00
..
offsets xtensa: userspace: swap page tables via assembly code 2025-04-17 00:57:19 +02:00
startup arch: xtensa: rename processor state save and restore calls 2024-10-29 07:07:42 -05:00
CMakeLists.txt xtensa: no need for flush register if threads are pin only 2025-04-17 00:57:19 +02:00
coredump.c xtensa: coredump: support dumping privilege stack 2024-09-21 11:29:39 +02:00
cpu_idle.c
crt1.S
debug_helpers_asm.S
elf.c llext: avoid redundant 'ldr_parm' checks 2025-03-17 19:58:15 +01:00
fatal.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
gdbstub.c
gen_vectors.py
gen_zsr.py xtensa: no need for flush register if threads are pin only 2025-04-17 00:57:19 +02:00
irq_manage.c
irq_offload.c arch: initialize irq_offload during boot, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
mem_manage.c
mmu.c xtensa: userspace: pre-compute MMU registers at domain init 2025-04-17 00:57:19 +02:00
mpu.c xtensa: mpu: update hardware if manipulating current domain 2024-09-16 09:55:53 +02:00
prep_c.c xtensa: no need for flush register if threads are pin only 2025-04-17 00:57:19 +02:00
ptables.c xtensa: userspace: swap page tables via assembly code 2025-04-17 00:57:19 +02:00
README_MMU.txt
README_WINDOWS.rst
smp.c
syscall_helper.c xtensa: userspace: workaround return PC calc with loops 2025-04-17 00:57:19 +02:00
thread.c xtensa: userspace: prevent potential privilege escalation 2025-04-17 00:57:19 +02:00
timing.c
tls.c
userspace.S xtensa: userspace: use ADDX4 to calculate syscall table index 2025-04-17 00:57:19 +02:00
vector_handlers.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
window_vectors.S
xcc_stubs.c
xtensa_asm2_util.S xtensa: userspace: swap page tables via assembly code 2025-04-17 00:57:19 +02:00
xtensa_backtrace.c
xtensa_hifi.S
xtensa_intgen.py
xtensa_intgen.tmpl