summaryrefslogtreecommitdiff
path: root/sys/mips
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2009-05-18 18:37:18 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2009-05-18 18:37:18 +0000
commitdbb95048da3ac080e2f3f83bcb730fe83661962b (patch)
treecf3c716dbc38984e19bd613ced4f6b9f8d4ca6b7 /sys/mips
parente13e5f8fa52267fd6ec2cb15e7b05c01b02832fa (diff)
Notes
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mips/machdep.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/mips/mips/machdep.c b/sys/mips/mips/machdep.c
index 9aa3044dc81c..6bd518018e7c 100644
--- a/sys/mips/mips/machdep.c
+++ b/sys/mips/mips/machdep.c
@@ -200,6 +200,16 @@ cpu_reset(void)
platform_reset();
}
+/*
+ * 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)
+{
+ /* TBD */
+}
+
/* Get current clock frequency for the given cpu id. */
int
cpu_est_clockrate(int cpu_id, uint64_t *rate)