| /* Kernel debugger for MN10300 |
| * Copyright (C) 2010 Red Hat, Inc. All Rights Reserved. |
| * Written by David Howells (dhowells@redhat.com) |
| * This program is free software; you can redistribute it and/or |
| * modify it under the terms of the GNU General Public Licence |
| * as published by the Free Software Foundation; either version |
| * 2 of the Licence, or (at your option) any later version. |
| * BUFMAX defines the maximum number of characters in inbound/outbound |
| * buffers at least NUMREGBYTES*2 are needed for register packets |
| * Longer buffer is needed to list all threads |
| * Note that this register image is in a different order than the register |
| * image that Linux produces at interrupt time. |
| #define NUMREGBYTES (GDB_FR_SIZE*4) |
| static inline void arch_kgdb_breakpoint(void) |
| asm(".globl __arch_kgdb_breakpoint; __arch_kgdb_breakpoint: break"); |
| extern u8 __arch_kgdb_breakpoint; |
| #define BREAK_INSTR_SIZE 1 |
| #define CACHE_FLUSH_IS_SAFE 1 |