Zephyr Project API 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
exception.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019 Carlo Caione <ccaione@baylibre.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
14#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_EXCEPTION_H_
15#define ZEPHYR_INCLUDE_ARCH_ARM64_EXCEPTION_H_
16
17/* for assembler, only works with constants */
18
19#ifdef _ASMLANGUAGE
20#else
21#include <zephyr/types.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27struct arch_esf {
50#ifdef CONFIG_FRAME_POINTER
51 uint64_t fp;
52#endif
53#ifdef CONFIG_ARM64_SAFE_EXCEPTION_STACK
55#endif
56} __aligned(16);
57
58#ifdef __cplusplus
59}
60#endif
61
62#endif /* _ASMLANGUAGE */
63
64#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_EXCEPTION_H_ */
__UINT64_TYPE__ uint64_t
Definition stdint.h:91
Exception Stack Frame.
Definition exception.h:60
uint64_t x1
Definition exception.h:29
uint64_t x11
Definition exception.h:39
uint64_t elr
Definition exception.h:49
uint64_t x18
Definition exception.h:46
uint64_t x0
Definition exception.h:28
uint64_t x5
Definition exception.h:33
uint64_t x4
Definition exception.h:32
uint64_t x3
Definition exception.h:31
uint64_t x14
Definition exception.h:42
uint64_t x2
Definition exception.h:30
uint64_t x7
Definition exception.h:35
unsigned long sp
Definition exception.h:87
uint64_t x15
Definition exception.h:43
uint64_t x13
Definition exception.h:41
uint64_t x17
Definition exception.h:45
uint64_t x16
Definition exception.h:44
uint64_t x8
Definition exception.h:36
uint64_t lr
Definition exception.h:47
uint64_t spsr
Definition exception.h:48
uint64_t x10
Definition exception.h:38
uint64_t x6
Definition exception.h:34
uint64_t x9
Definition exception.h:37
uint64_t x12
Definition exception.h:40