/kernel/trunk/arch/mips32/include/exception.h |
---|
33,6 → 33,8 |
# include <arch/types.h> |
#endif |
#include <typedefs.h> |
#define EXC_Int 0 |
#define EXC_Mod 1 |
#define EXC_TLBL 2 |
52,7 → 54,7 |
#define EXC_WATCH 23 |
#define EXC_VCED 31 |
struct exception_regdump { |
struct istate { |
__u32 at; |
__u32 v0; |
__u32 v1; |
90,7 → 92,7 |
__u32 epc; /* cp0_epc */ |
}; |
extern void exception(struct exception_regdump *pstate); |
extern void exception(istate_t *istate); |
extern void tlb_refill_entry(void); |
extern void exception_entry(void); |
extern void cache_error_entry(void); |
/kernel/trunk/arch/mips32/include/thread.h |
---|
31,6 → 31,6 |
#include <arch/exception.h> |
#define ARCH_THREAD_DATA struct exception_regdump *pstate |
#define ARCH_THREAD_DATA istate_t *istate |
#endif |
/kernel/trunk/arch/mips32/include/mm/tlb.h |
---|
169,8 → 169,8 |
#define tlb_invalidate(asid) tlb_invalidate_asid(asid) |
extern void tlb_invalid(struct exception_regdump *pstate); |
extern void tlb_refill(struct exception_regdump *pstate); |
extern void tlb_modified(struct exception_regdump *pstate); |
extern void tlb_invalid(istate_t *istate); |
extern void tlb_refill(istate_t *istate); |
extern void tlb_modified(istate_t *istate); |
#endif |
/kernel/trunk/arch/mips32/include/debugger.h |
---|
49,11 → 49,11 |
__native nextinstruction; /**< Original instruction following break */ |
int flags; /**< Flags regarding breakpoint */ |
count_t counter; |
void (*bkfunc)(void *b, struct exception_regdump *pstate); |
void (*bkfunc)(void *b, istate_t *istate); |
} bpinfo_t; |
extern void debugger_init(void); |
void debugger_bpoint(struct exception_regdump *pstate); |
void debugger_bpoint(istate_t *istate); |
extern bpinfo_t breakpoints[BKPOINTS_MAX]; |