diff options
author | marcel <marcel@FreeBSD.org> | 2007-06-09 21:55:17 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2007-06-09 21:55:17 +0000 |
commit | 75588c5a15dad18e2f69aee6a984065d314bffb7 (patch) | |
tree | a56b45624c5012a67b32e122f42c41c6b2e7d8a4 /sys/sparc64 | |
parent | 12d804e413f2c44d9e10f25ee1b546f2b48c598b (diff) | |
download | FreeBSD-src-75588c5a15dad18e2f69aee6a984065d314bffb7.zip FreeBSD-src-75588c5a15dad18e2f69aee6a984065d314bffb7.tar.gz |
Add kdb_cpu_sync_icache(), intended to synchronize instruction
caches with data caches after writing to memory. This typically
is required to make breakpoints work on ia64 and powerpc. For
those architectures the function is implemented.
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/include/kdb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/sparc64/include/kdb.h b/sys/sparc64/include/kdb.h index 3e510e0..02ce4e7 100644 --- a/sys/sparc64/include/kdb.h +++ b/sys/sparc64/include/kdb.h @@ -44,6 +44,11 @@ kdb_cpu_set_singlestep(void) } static __inline void +kdb_cpu_sync_icache(unsigned char *addr, size_t size) +{ +} + +static __inline void kdb_cpu_trap(int vector, int _) { flushw(); |