14#ifndef ZEPHYR_INCLUDE_ARCH_ARC_V2_ERROR_H_
15#define ZEPHYR_INCLUDE_ARCH_ARC_V2_ERROR_H_
28#define ARCH_EXCEPT(reason_p) do { \
30 "mov %%r0, %[reason]\n\t" \
33 : [reason] "i" (reason_p), \
34 [id] "i" (_TRAP_S_CALL_RUNTIME_EXCEPT) \
ARCv2 public exception handling.
ARC specific syscall header.