| 1 |
|
| 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) 2023 Intel Corporation
|
| 7 | *
|
| 8 | * telemetry data in debug windows
|
| 9 |
|
| 10 |
|
| 11 | #ifndef _SOF_INTEL_TELEMETRY_H
|
| 12 | #define _SOF_INTEL_TELEMETRY_H
|
| 13 |
|
| 14 | #include "../ipc4-telemetry.h"
|
| 15 |
|
| 16 | struct xtensa_arch_block {
|
| 17 | u8 soc;
|
| 18 | u16 version;
|
| 19 | u8 toolchain;
|
| 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 |
|
| 33 | void sof_ipc4_intel_dump_telemetry_state(struct snd_sof_dev *sdev, u32 flags);
|
| 34 |
|
| 35 | #endif
|