1 /*
2  * Copyright (c) 2019-2020 Cobham Gaisler AB
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef ZEPHYR_INCLUDE_ARCH_SPARC_EXPCEPTION_H_
8 #define ZEPHYR_INCLUDE_ARCH_SPARC_EXPCEPTION_H_
9 
10 #ifndef _ASMLANGUAGE
11 #include <zephyr/types.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 struct arch_esf {
18 	uint32_t out[8];
19 	uint32_t global[8];
20 	uint32_t psr;
21 	uint32_t pc;
22 	uint32_t npc;
23 	uint32_t wim;
24 	uint32_t tbr;
25 	uint32_t y;
26 };
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 
32 #endif /* _ASMLANGUAGE */
33 
34 #endif /* ZEPHYR_INCLUDE_ARCH_SPARC_EXPCEPTION_H_ */
35