David Howells | 792576b | 2011-03-18 16:54:30 +0000 | [diff] [blame] | 1 | /* Kernel debugger for MN10300 |
| 2 | * |
| 3 | * Copyright (C) 2011 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public Licence |
| 8 | * as published by the Free Software Foundation; either version |
| 9 | * 2 of the Licence, or (at your option) any later version. |
| 10 | */ |
| 11 | |
| 12 | #ifndef _ASM_DEBUGGER_H |
| 13 | #define _ASM_DEBUGGER_H |
| 14 | |
| 15 | #if defined(CONFIG_KERNEL_DEBUGGER) |
| 16 | |
David Howells | 7f386ac | 2011-03-18 16:54:30 +0000 | [diff] [blame^] | 17 | #ifndef CONFIG_MN10300_DEBUGGER_CACHE_NO_FLUSH |
| 18 | extern void debugger_local_cache_flushinv(void); |
| 19 | extern void debugger_local_cache_flushinv_one(u8 *); |
| 20 | #else |
| 21 | static inline void debugger_local_cache_flushinv(void) {} |
| 22 | static inline void debugger_local_cache_flushinv_one(u8 *addr) {} |
| 23 | #endif |
| 24 | |
David Howells | 792576b | 2011-03-18 16:54:30 +0000 | [diff] [blame] | 25 | #else /* CONFIG_KERNEL_DEBUGGER */ |
| 26 | |
| 27 | #endif /* CONFIG_KERNEL_DEBUGGER */ |
| 28 | #endif /* _ASM_DEBUGGER_H */ |