Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2009 21:27:41 GMT
From:      Arnar Mar Sig <antab@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 162974 for review
Message-ID:  <200905282127.n4SLRfBd009454@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=162974

Change 162974 by antab@antab_farm on 2009/05/28 21:27:21

	Add cpu_flush_dcache

Affected files ...

.. //depot/projects/avr32/src/sys/avr32/avr32/cpu.c#11 edit

Differences ...

==== //depot/projects/avr32/src/sys/avr32/avr32/cpu.c#11 (text+ko) ====

@@ -110,6 +110,16 @@
 	ocdreg_write(DC, bit_offset(OCD, DC, RES));
 }
 
+/*
+ * Flush the D-cache for non-DMA I/O so that the I-cache can
+ * be made coherent later.
+ */
+void
+cpu_flush_dcache(void *ptr, size_t len)
+{
+	/* XXX: Todo */
+}
+
 /**
  * Debugging code for avr32, this is here so i can do writes to usart1 without going thru all the
  * tty code



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