2 * U-Boot - stub functions for common kgdb code,
3 * can be overridden in board specific files
5 * Copyright 2009 Analog Devices Inc.
7 * Licensed under the GPL-2 or later.
13 #include <asm/ptrace.h>
15 int (*debugger_exception_handler)(struct pt_regs *);
18 void kgdb_serial_init(void)
24 void putDebugChar(int c)
30 void putDebugStr(const char *str)
38 int getDebugChar(void)
44 void kgdb_interruptible(int yes)
50 void kgdb_flush_cache_range(void *from, void *to)
52 flush_cache((unsigned long)from, (unsigned long)(to - from));
56 void kgdb_flush_cache_all(void)
58 if (dcache_status()) {
62 if (icache_status()) {