aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/include
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2014-05-11 04:24:57 +0000
committerIan Lepore <ian@FreeBSD.org>2014-05-11 04:24:57 +0000
commitb07d0cbce33ccea111ae09f818fcfa756d49b1db (patch)
treedfdfe0e916036a7b1fe2d4dec4aae533ddc624ab /sys/arm/include
parentffd328487af38543406eee26fd01628e60af346d (diff)
Notes
Diffstat (limited to 'sys/arm/include')
-rw-r--r--sys/arm/include/cpufunc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/include/cpufunc.h b/sys/arm/include/cpufunc.h
index c2a96a81507e..16887b0fcec5 100644
--- a/sys/arm/include/cpufunc.h
+++ b/sys/arm/include/cpufunc.h
@@ -151,6 +151,7 @@ struct cpu_functions {
void (*cf_l2cache_wbinv_range) (vm_offset_t, vm_size_t);
void (*cf_l2cache_inv_range) (vm_offset_t, vm_size_t);
void (*cf_l2cache_wb_range) (vm_offset_t, vm_size_t);
+ void (*cf_l2cache_drain_writebuf) (void);
/* Other functions */
@@ -252,6 +253,7 @@ void tlb_broadcast(int);
#define cpu_l2cache_wb_range(a, s) cpufuncs.cf_l2cache_wb_range((a), (s))
#define cpu_l2cache_inv_range(a, s) cpufuncs.cf_l2cache_inv_range((a), (s))
#define cpu_l2cache_wbinv_range(a, s) cpufuncs.cf_l2cache_wbinv_range((a), (s))
+#define cpu_l2cache_drain_writebuf() cpufuncs.cf_l2cache_drain_writebuf()
#define cpu_flush_prefetchbuf() cpufuncs.cf_flush_prefetchbuf()
#define cpu_drain_writebuf() cpufuncs.cf_drain_writebuf()