2 #ifndef __MICROBLAZE_KGDB_H__
3 #define __MICROBLAZE_KGDB_H__
7 #define CACHE_FLUSH_IS_SAFE 1
11 * 32 32-bit general purpose registers (r0-r31)
12 * 6 32-bit special registers (pc, msr, ear, esr, fsr, btr)
14 * 7 32-bit MMU Regs (redr, rpid, rzpr, rtlbx, rtlbsx, rtlblo, rtlbhi)
18 #define NUMREGBYTES (57 * 4)
20 #define BREAK_INSTR_SIZE 4
21 static inline void arch_kgdb_breakpoint(void)
23 __asm__
__volatile__("brki r16, 0x18;");
27 asmlinkage
void microblaze_kgdb_break(struct pt_regs
*regs
);
29 #endif /* __ASSEMBLY__ */
30 #endif /* __MICROBLAZE_KGDB_H__ */
31 #endif /* __KERNEL__ */