zephyr/arch/xtensa
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
..
core xtensa: userspace: use ADDX4 to calculate syscall table index 2025-04-17 00:57:19 +02:00
include xtensa: userspace: swap page tables via assembly code 2025-04-17 00:57:19 +02:00
CMakeLists.txt xtensa: fix typo userpsace to userspace 2024-10-08 18:10:03 -04:00
Kconfig xtensa: mmu: do not force small vector table 2025-04-17 00:57:19 +02:00