brintos

brintos / linux-shallow public Read only

0
0
Text · 789 B · e4e9194 Raw
36 lines · c
1/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */2/*3 * This file is provided under a dual BSD/GPLv2 license.  When using or4 * redistributing this file, you may do so under either license.5 *6 * Copyright(c) 2023 Intel Corporation7 *8 * telemetry data in debug windows9 */10 11#ifndef _SOF_INTEL_TELEMETRY_H12#define _SOF_INTEL_TELEMETRY_H13 14#include "../ipc4-telemetry.h"15 16struct xtensa_arch_block {17	u8	soc; /* should be equal to XTENSA_SOC_INTEL_ADSP */18	u16	version;19	u8	toolchain; /* ZEPHYR or XCC */20 21	u32	pc;22	u32	exccause;23	u32	excvaddr;24	u32	sar;25	u32	ps;26	u32	scompare1;27	u32	ar[XTENSA_CORE_AR_REGS_COUNT];28	u32	lbeg;29	u32	lend;30	u32	lcount;31} __packed;32 33void sof_ipc4_intel_dump_telemetry_state(struct snd_sof_dev *sdev, u32 flags);34 35#endif /* _SOF_INTEL_TELEMETRY_H */36