target-xtensa: add definition for XTHAL_INTTYPE_PROFILING
PATCH 1/1 target-xtensa: add definition for XTHAL_INTTYPE_PROFILING
There's new interrupt type in the recent Xtensa releases that may appear in configuration overlay. Add definition so that new cores that use it could be automatically imported.
Signed-off-by Max Filippov <[email protected]>
--- target-xtensa/cpu.h | 1 + target-xtensa/overlay_tool.h | 1 + 2 files changed, 2 insertions(+)
target-xtensa/cpu.h +1 -0
@@ -266,6 +266,7 @@ typedef enum {INTTYPE_TIMER ,INTTYPE_DEBUG ,INTTYPE_WRITE_ERR , +INTTYPE_PROFILING , INTTYPE_MAX } interrupt_type;
target-xtensa/overlay_tool.h +1 -0
@@ -163,6 +163,7 @@#define XTHAL_INTTYPE_TBD1 INTTYPE_DEBUG#define XTHAL_INTTYPE_TBD2 INTTYPE_WRITE_ERR#define XTHAL_INTTYPE_WRITE_ERROR INTTYPE_WRITE_ERR +#define XTHAL_INTTYPE_PROFILING INTTYPE_PROFILING#define INTERRUPT (i) { \
Signature · 1 line
1.8.1.4