Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2012 13:31:08 +0000 (UTC)
From:      Grzegorz Bernacki <gber@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r236307 - head/sys/arm/include
Message-ID:  <201205301331.q4UDV8Vc053870@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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();
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205301331.q4UDV8Vc053870>