summaryrefslogtreecommitdiffstats
path: root/sys/sun4v/sun4v/machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sun4v/sun4v/machdep.c')
-rw-r--r--sys/sun4v/sun4v/machdep.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/sun4v/sun4v/machdep.c b/sys/sun4v/sun4v/machdep.c
index b7c0869..7975040 100644
--- a/sys/sun4v/sun4v/machdep.c
+++ b/sys/sun4v/sun4v/machdep.c
@@ -767,6 +767,16 @@ cpu_shutdown(void *args)
hv_mach_exit(0);
}
+/*
+ * 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)
OpenPOWER on IntegriCloud