xref: /openbmc/linux/include/sound/sof/xtensa.h (revision 07c7c6bf)
1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
2 /*
3  * This file is provided under a dual BSD/GPLv2 license.  When using or
4  * redistributing this file, you may do so under either license.
5  *
6  * Copyright(c) 2018 Intel Corporation. All rights reserved.
7  */
8 
9 #ifndef __INCLUDE_SOUND_SOF_XTENSA_H__
10 #define __INCLUDE_SOUND_SOF_XTENSA_H__
11 
12 #include <sound/sof/header.h>
13 
14 /*
15  * Architecture specific debug
16  */
17 
18 /* Xtensa Firmware Oops data */
19 struct sof_ipc_dsp_oops_xtensa {
20 	struct sof_ipc_hdr hdr;
21 	uint32_t exccause;
22 	uint32_t excvaddr;
23 	uint32_t ps;
24 	uint32_t epc1;
25 	uint32_t epc2;
26 	uint32_t epc3;
27 	uint32_t epc4;
28 	uint32_t epc5;
29 	uint32_t epc6;
30 	uint32_t epc7;
31 	uint32_t eps2;
32 	uint32_t eps3;
33 	uint32_t eps4;
34 	uint32_t eps5;
35 	uint32_t eps6;
36 	uint32_t eps7;
37 	uint32_t depc;
38 	uint32_t intenable;
39 	uint32_t interrupt;
40 	uint32_t sar;
41 	uint32_t stack;
42 }  __packed;
43 
44 #endif
45