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/amd64 | |
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/amd64')
-rw-r--r-- | sys/amd64/include/kdb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/amd64/include/kdb.h b/sys/amd64/include/kdb.h index 131e40e..56d2018 100644 --- a/sys/amd64/include/kdb.h +++ b/sys/amd64/include/kdb.h @@ -47,6 +47,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 type, int code) { } |