PERFORCE change 162974 for review

Arnar Mar Sig antab at FreeBSD.org
Thu May 28 21:27:42 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=162974

Change 162974 by antab at 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


More information about the p4-projects mailing list