summaryrefslogtreecommitdiff
path: root/sys/arch/arm/include/cpufunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/arm/include/cpufunc.h')
-rw-r--r--sys/arch/arm/include/cpufunc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/arm/include/cpufunc.h b/sys/arch/arm/include/cpufunc.h
index 5e38d49e270..c8910187b78 100644
--- a/sys/arch/arm/include/cpufunc.h
+++ b/sys/arch/arm/include/cpufunc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpufunc.h,v 1.26 2016/08/14 11:30:54 jsg Exp $ */
+/* $OpenBSD: cpufunc.h,v 1.27 2016/08/22 01:42:00 jsg Exp $ */
/* $NetBSD: cpufunc.h,v 1.29 2003/09/06 09:08:35 rearnsha Exp $ */
/*
@@ -140,6 +140,7 @@ struct cpu_functions {
void (*cf_sdcache_wbinv_range) (vaddr_t, paddr_t, vsize_t);
void (*cf_sdcache_inv_range) (vaddr_t, paddr_t, vsize_t);
void (*cf_sdcache_wb_range) (vaddr_t, paddr_t, vsize_t);
+ void (*cf_sdcache_drain_writebuf) (void);
/* Other functions */
@@ -191,6 +192,7 @@ extern u_int cputype;
#define cpu_sdcache_wbinv_range(va, pa, s) cpufuncs.cf_sdcache_wbinv_range((va), (pa), (s))
#define cpu_sdcache_inv_range(va, pa, s) cpufuncs.cf_sdcache_inv_range((va), (pa), (s))
#define cpu_sdcache_wb_range(va, pa, s) cpufuncs.cf_sdcache_wb_range((va), (pa), (s))
+#define cpu_sdcache_drain_writebuf() cpufuncs.cf_sdcache_drain_writebuf()
#define cpu_flush_prefetchbuf() cpufuncs.cf_flush_prefetchbuf()
#define cpu_drain_writebuf() cpufuncs.cf_drain_writebuf()