Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
error.h File Reference

ARM AArch64 public error handling. More...

#include <arch/arm64/syscall.h>
#include <arch/arm64/exc.h>
#include <stdbool.h>

Go to the source code of this file.

Macros

#define ARCH_EXCEPT(reason_p)
 

Detailed Description

ARM AArch64 public error handling.

ARM AArch64-specific kernel error handling interface. Included by arch.h.

Macro Definition Documentation

◆ ARCH_EXCEPT

#define ARCH_EXCEPT (   reason_p)
Value:
do { \
register uint64_t x8 __asm__("x8") = reason_p; \
\
__asm__ volatile("svc %[id]\n" \
: \
: [id] "i" (_SVC_CALL_RUNTIME_EXCEPT), \
"r" (x8) \
: "memory"); \
} while (false)
__UINT64_TYPE__ uint64_t
Definition: stdint.h:61