| #ifndef __DSP_DBGC_H__ |
| #define __DSP_DBGC_H__ |
| |
| |
| #if defined(__MD97__) |
| #include "kal_public_api.h" |
| #include "sync_data.h" |
| #include "reg_base.h" |
| |
| #define DSP_DBGC_REG(ptr) (*(volatile kal_uint32*)(ptr)) |
| |
| #define DBGC_BASE (BASE_MADDR_MCORE0_DBGC) |
| #define DBGC_IDLE_SIGNAL_SET_REG (DBGC_BASE + 0x1C4) |
| #define DBGC_IDLE_SIGNAL_CLR_REG (DBGC_BASE + 0x1C8) |
| #define DBGC_IDLE_SIGNAL_STATUS_REG (DBGC_BASE + 0x1CC) |
| #define DSP_MCORE_THREAD_NUMBER (0x4) |
| |
| |
| #else /* Not MD97 */ |
| |
| // let it empty, because only MD97 has the DBGC module |
| #endif |
| |
| #endif /* __DSP_DBGC_H__ */ |