Zephyr API Documentation
4.1.99
A Scalable Open Source RTOS
4.1.99
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
error.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020 Carlo Caione <ccaione@baylibre.com>
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
14
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_ERROR_H_
15
#define ZEPHYR_INCLUDE_ARCH_ARM64_ERROR_H_
16
17
#include <
zephyr/arch/arm64/syscall.h
>
18
#include <
zephyr/arch/arm64/exception.h
>
19
#include <
stdbool.h
>
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
25
#define ARCH_EXCEPT(reason_p) \
26
do { \
27
register uint64_t x8 __asm__("x8") = reason_p; \
28
\
29
__asm__ volatile("svc %[id]\n" \
30
: \
31
: [id] "i" (_SVC_CALL_RUNTIME_EXCEPT), \
32
"r" (x8) \
33
: "memory"); \
34
} while (false)
25
#define ARCH_EXCEPT(reason_p) \
…
35
36
#ifdef __cplusplus
37
}
38
#endif
39
40
#endif
/* ZEPHYR_INCLUDE_ARCH_ARM64_ERROR_H_ */
syscall.h
ARM64 specific syscall header.
exception.h
Cortex-A public exception handling.
stdbool.h
zephyr
arch
arm64
error.h
Generated on Thu Mar 13 2025 09:06:01 for Zephyr API Documentation by
1.12.0