2020-05-01 14:58:50 +00:00
|
|
|
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
|
2019-04-12 16:05:18 +00:00
|
|
|
/*
|
|
|
|
* This file is provided under a dual BSD/GPLv2 license. When using or
|
|
|
|
* redistributing this file, you may do so under either license.
|
|
|
|
*
|
2024-05-03 14:03:59 +00:00
|
|
|
* Copyright(c) 2018 Intel Corporation
|
2019-04-12 16:05:18 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __INCLUDE_SOUND_SOF_XTENSA_H__
|
|
|
|
#define __INCLUDE_SOUND_SOF_XTENSA_H__
|
|
|
|
|
|
|
|
#include <sound/sof/header.h>
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Architecture specific debug
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Xtensa Firmware Oops data */
|
|
|
|
struct sof_ipc_dsp_oops_xtensa {
|
2019-06-03 16:18:15 +00:00
|
|
|
struct sof_ipc_dsp_oops_arch_hdr arch_hdr;
|
|
|
|
struct sof_ipc_dsp_oops_plat_hdr plat_hdr;
|
2019-04-12 16:05:18 +00:00
|
|
|
uint32_t exccause;
|
|
|
|
uint32_t excvaddr;
|
|
|
|
uint32_t ps;
|
|
|
|
uint32_t epc1;
|
|
|
|
uint32_t epc2;
|
|
|
|
uint32_t epc3;
|
|
|
|
uint32_t epc4;
|
|
|
|
uint32_t epc5;
|
|
|
|
uint32_t epc6;
|
|
|
|
uint32_t epc7;
|
|
|
|
uint32_t eps2;
|
|
|
|
uint32_t eps3;
|
|
|
|
uint32_t eps4;
|
|
|
|
uint32_t eps5;
|
|
|
|
uint32_t eps6;
|
|
|
|
uint32_t eps7;
|
|
|
|
uint32_t depc;
|
|
|
|
uint32_t intenable;
|
|
|
|
uint32_t interrupt;
|
|
|
|
uint32_t sar;
|
2019-06-03 16:18:15 +00:00
|
|
|
uint32_t debugcause;
|
|
|
|
uint32_t windowbase;
|
|
|
|
uint32_t windowstart;
|
|
|
|
uint32_t excsave1;
|
|
|
|
uint32_t ar[];
|
2019-04-12 16:05:18 +00:00
|
|
|
} __packed;
|
|
|
|
|
|
|
|
#endif
|