zephyr/arch/arm/include/aarch32
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
..
cortex_a_r
cortex_m cortex_m: tz_ns.h: Fix compiling with arm-clang 2023-03-31 08:43:18 -05:00
kernel_arch_func.h
offsets_short_arch.h arch: arm: Remove unused generated offset symbols 2023-02-23 16:44:07 +01:00