18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * This file is provided under a dual BSD/GPLv2 license. When using or 48c2ecf20Sopenharmony_ci * redistributing this file, you may do so under either license. 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * Copyright(c) 2018 Intel Corporation. All rights reserved. 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#ifndef __INCLUDE_SOUND_SOF_XTENSA_H__ 108c2ecf20Sopenharmony_ci#define __INCLUDE_SOUND_SOF_XTENSA_H__ 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#include <sound/sof/header.h> 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci/* 158c2ecf20Sopenharmony_ci * Architecture specific debug 168c2ecf20Sopenharmony_ci */ 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci/* Xtensa Firmware Oops data */ 198c2ecf20Sopenharmony_cistruct sof_ipc_dsp_oops_xtensa { 208c2ecf20Sopenharmony_ci struct sof_ipc_dsp_oops_arch_hdr arch_hdr; 218c2ecf20Sopenharmony_ci struct sof_ipc_dsp_oops_plat_hdr plat_hdr; 228c2ecf20Sopenharmony_ci uint32_t exccause; 238c2ecf20Sopenharmony_ci uint32_t excvaddr; 248c2ecf20Sopenharmony_ci uint32_t ps; 258c2ecf20Sopenharmony_ci uint32_t epc1; 268c2ecf20Sopenharmony_ci uint32_t epc2; 278c2ecf20Sopenharmony_ci uint32_t epc3; 288c2ecf20Sopenharmony_ci uint32_t epc4; 298c2ecf20Sopenharmony_ci uint32_t epc5; 308c2ecf20Sopenharmony_ci uint32_t epc6; 318c2ecf20Sopenharmony_ci uint32_t epc7; 328c2ecf20Sopenharmony_ci uint32_t eps2; 338c2ecf20Sopenharmony_ci uint32_t eps3; 348c2ecf20Sopenharmony_ci uint32_t eps4; 358c2ecf20Sopenharmony_ci uint32_t eps5; 368c2ecf20Sopenharmony_ci uint32_t eps6; 378c2ecf20Sopenharmony_ci uint32_t eps7; 388c2ecf20Sopenharmony_ci uint32_t depc; 398c2ecf20Sopenharmony_ci uint32_t intenable; 408c2ecf20Sopenharmony_ci uint32_t interrupt; 418c2ecf20Sopenharmony_ci uint32_t sar; 428c2ecf20Sopenharmony_ci uint32_t debugcause; 438c2ecf20Sopenharmony_ci uint32_t windowbase; 448c2ecf20Sopenharmony_ci uint32_t windowstart; 458c2ecf20Sopenharmony_ci uint32_t excsave1; 468c2ecf20Sopenharmony_ci uint32_t ar[]; 478c2ecf20Sopenharmony_ci} __packed; 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ci#endif 50