Line 87... |
Line 87... |
|
|
/* Resets the debug unit */
|
/* Resets the debug unit */
|
void du_reset(void);
|
void du_reset(void);
|
|
|
/* do cycle-related initialisation (watchpoints etc.) */
|
/* do cycle-related initialisation (watchpoints etc.) */
|
void du_clock();
|
void du_clock(void);
|
|
|
/* set cpu_stalled flag */
|
/* set cpu_stalled flag */
|
void set_stall_state (int state);
|
void set_stall_state (int state);
|
|
|
/* Whether debug unit should ignore exception */
|
/* Whether debug unit should ignore exception */
|
int debug_ignore_exception (unsigned long except);
|
int debug_ignore_exception (unsigned long except);
|
|
|
/* Gets development interface register */
|
/* Gets development interface register */
|
int get_devint_reg(unsigned int addr, unsigned long *data);
|
int get_devint_reg(unsigned int addr, uint32_t *data);
|
|
|
/* Sets development interface register */
|
/* Sets development interface register */
|
int set_devint_reg(unsigned int addr, unsigned long data);
|
int set_devint_reg(unsigned int addr, uint32_t data);
|
|
|
/* Reads from bus address */
|
/* Reads from bus address */
|
int debug_get_mem(unsigned int address, unsigned long *data);
|
int debug_get_mem(oraddr_t address, uorreg_t *data);
|
|
|
/* Writes to bus address */
|
/* Writes to bus address */
|
int debug_set_mem(unsigned int address, unsigned long data);
|
int debug_set_mem(oraddr_t address, uorreg_t data);
|
|
|
int DebugGetRegister(unsigned int address, unsigned long *data);
|
int DebugGetRegister(oraddr_t address, uorreg_t *data);
|
|
|
int DebugSetRegister(unsigned int address, unsigned long data);
|
int DebugSetRegister(oraddr_t address, uorreg_t data);
|
|
|
int DebugSetChain(int chain);
|
int DebugSetChain(int chain);
|
|
|
#ifdef DEBUGMOD_OFF
|
#ifdef DEBUGMOD_OFF
|
#define CheckDebugUnit(x,y) 0
|
#define CheckDebugUnit(x,y) 0
|