zephyr/arch
Kumar Gala 14d59b3b56 cortex_m: tz_ns.h: Fix compiling with arm-clang
We get the following error when building with arm-clang:

error: non-ASM statement in naked function is not supported
        __TZ_WRAP_FUNC(preface, foo1, postface);
        ^
tests/arch/arm/arm_tz_wrap_func/src/main.c:69:25: note: attribute is here
uint32_t __attribute__((naked)) wrap_foo1(uint32_t arg1, uint32_t arg2,
                        ^
1 error generated.

Remove the do/while wrapper to make this a true naked function.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2023-03-31 08:43:18 -05:00
..
arc treewide: Use CONFIG_CPP instead of CONFIG_CPLUSPLUS 2023-01-13 17:42:55 -05:00
arm cortex_m: tz_ns.h: Fix compiling with arm-clang 2023-03-31 08:43:18 -05:00
arm64 arch: arm64: Update current stack limit on every context switch 2023-03-14 10:49:22 +01:00
common revert: "linker: rom_start_offset: add to address" 2023-03-30 18:19:32 -04: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: Remove unused offset symbols 2023-02-23 16:44:07 +01:00
riscv arch: riscv: Remove unused offset symbols 2023-02-23 16:44:07 +01:00
sparc arch: sparc: Remove unused offset symbols 2023-02-23 16:44:07 +01:00
x86 arch: x86: zefi: Remove unneeded include 2023-03-22 20:32:35 +09:00
xtensa xtensa: stop execution under simulator for double exception 2023-01-23 10:09:18 +00:00
CMakeLists.txt cmake: fix include directories to work with out-of-tree arch 2020-08-05 08:06:07 -04:00
Kconfig arch: riscv enable flash config 2023-02-28 10:29:03 +01:00