svn commit: r236307 - head/sys/arm/include
Grzegorz Bernacki
gber at FreeBSD.org
Wed May 30 13:31:09 UTC 2012
Author: gber
Date: Wed May 30 13:31:08 2012
New Revision: 236307
URL: http://svn.freebsd.org/changeset/base/236307
Log:
Flush D and I caches after setting a breakpoint.
Reviewed by: imp
Obtained from: Semihalf
Modified:
head/sys/arm/include/kdb.h
Modified: head/sys/arm/include/kdb.h
==============================================================================
--- head/sys/arm/include/kdb.h Wed May 30 13:00:43 2012 (r236306)
+++ head/sys/arm/include/kdb.h Wed May 30 13:31:08 2012 (r236307)
@@ -46,11 +46,14 @@ kdb_cpu_set_singlestep(void)
static __inline void
kdb_cpu_sync_icache(unsigned char *addr, size_t size)
{
+
+ cpu_icache_sync_all();
}
static __inline void
kdb_cpu_trap(int type, int code)
{
+
cpu_idcache_wbinv_all();
}
More information about the svn-src-head
mailing list