zephyr/arch/arm/include/aarch32/cortex_m
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
..
cmse.h
dwt.h arm: add missing includes 2022-10-11 18:37:53 -04:00
exc.h Kconfig: add config for low-priority debug mon isr 2022-12-28 12:00:46 +01:00
stack.h smp: Move arrays to use CONFIG_MP_MAX_NUM_CPUS 2022-10-17 14:40:12 +09:00
tz.h arm: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
tz_ns.h cortex_m: tz_ns.h: Fix compiling with arm-clang 2023-03-31 08:43:18 -05:00