Line data Source code
1 0 : /*
2 : * Copyright (c) 2019-2020 Cobham Gaisler AB
3 : *
4 : * SPDX-License-Identifier: Apache-2.0
5 : */
6 :
7 : #ifndef ZEPHYR_INCLUDE_ARCH_SPARC_EXCEPTION_H_
8 : #define ZEPHYR_INCLUDE_ARCH_SPARC_EXCEPTION_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 0 : uint32_t out[8];
19 0 : uint32_t global[8];
20 0 : uint32_t psr;
21 0 : uint32_t pc;
22 0 : uint32_t npc;
23 0 : uint32_t wim;
24 0 : uint32_t tbr;
25 0 : uint32_t y;
26 : };
27 :
28 : #ifdef __cplusplus
29 : }
30 : #endif
31 :
32 : #endif /* _ASMLANGUAGE */
33 :
34 : #endif /* ZEPHYR_INCLUDE_ARCH_SPARC_EXCEPTION_H_ */
|