| #ifndef DSP_EINTC_H |
| #define DSP_EINTC_H |
| |
| #include "kal_public_api.h" |
| #include "sync_data.h" |
| #include "reg_base.h" |
| #define DSP_EINTC_REG(ptr) (*(volatile kal_uint32*)(ptr)) |
| |
| #if defined(MT6297) || defined(MT6885) || defined(MT6873) || defined(MT6853) || defined(CHIP10992) || defined(MT6833) || defined(MT6877) |
| #define EINTC_BASE BASE_MADDR_MCORE0_EINTC |
| #define EINTC_SET_IDLE_SIGNAL 0x1C4 |
| #define EINTC_CLR_IDLE_SIGNAL 0x1C8 |
| #define EINTC_IDLE_SIGNAL_STATUS 0x1CC |
| #define DSP_MCORE_THREAD_NUMBER 0x4 |
| #elif defined(__MD95__) |
| #else |
| #error "need to define address for new chip" |
| #endif |
| |
| |
| #endif /* DSP_EINTC_H */ |