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.
14 #include <asm/ptrace.h>
16 int (*debugger_exception_handler
)(struct pt_regs
*);
19 void kgdb_serial_init(void)
25 void putDebugChar(int c
)
31 void putDebugStr(const char *str
)
39 int getDebugChar(void)
45 void kgdb_interruptible(int yes
)
51 void kgdb_flush_cache_range(void *from
, void *to
)
53 flush_cache((unsigned long)from
, (unsigned long)(to
- from
));
57 void kgdb_flush_cache_all(void)
59 if (dcache_status()) {
63 if (icache_status()) {