提交 dec71d2d 编写于 作者: M Max Filippov

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: NMax Filippov <jcmvbkbc@gmail.com>
上级 0a2923f8
...@@ -266,6 +266,7 @@ typedef enum { ...@@ -266,6 +266,7 @@ typedef enum {
INTTYPE_TIMER, INTTYPE_TIMER,
INTTYPE_DEBUG, INTTYPE_DEBUG,
INTTYPE_WRITE_ERR, INTTYPE_WRITE_ERR,
INTTYPE_PROFILING,
INTTYPE_MAX INTTYPE_MAX
} interrupt_type; } interrupt_type;
......
...@@ -163,6 +163,7 @@ ...@@ -163,6 +163,7 @@
#define XTHAL_INTTYPE_TBD1 INTTYPE_DEBUG #define XTHAL_INTTYPE_TBD1 INTTYPE_DEBUG
#define XTHAL_INTTYPE_TBD2 INTTYPE_WRITE_ERR #define XTHAL_INTTYPE_TBD2 INTTYPE_WRITE_ERR
#define XTHAL_INTTYPE_WRITE_ERROR INTTYPE_WRITE_ERR #define XTHAL_INTTYPE_WRITE_ERROR INTTYPE_WRITE_ERR
#define XTHAL_INTTYPE_PROFILING INTTYPE_PROFILING
#define INTERRUPT(i) { \ #define INTERRUPT(i) { \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册