linux/sound/soc/sof/ipc4-telemetry.h

/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
/*
 * This file is provided under a dual BSD/GPLv2 license.  When using or
 * redistributing this file, you may do so under either license.
 *
 * Copyright(c) 2023 Intel Corporation
 */

#ifndef __SOUND_SOC_SOF_IPC4_TELEMETRY_H
#define __SOUND_SOC_SOF_IPC4_TELEMETRY_H

/* Target code */
enum sof_ipc4_coredump_tgt_code {};

#define COREDUMP_ARCH_HDR_ID
#define COREDUMP_HDR_ID0
#define COREDUMP_HDR_ID1

#define XTENSA_BLOCK_HDR_VER
#define XTENSA_CORE_DUMP_SEPARATOR
#define XTENSA_CORE_AR_REGS_COUNT
#define XTENSA_SOC_INTEL_ADSP
#define XTENSA_TOOL_CHAIN_ZEPHYR
#define XTENSA_TOOL_CHAIN_XCC

/* Coredump header */
struct sof_ipc4_coredump_hdr {} __packed;

/* Architecture-specific block header */
struct sof_ipc4_coredump_arch_hdr {} __packed;

struct sof_ipc4_telemetry_slot_data {} __packed;

void sof_ipc4_create_exception_debugfs_node(struct snd_sof_dev *sdev);
#endif