summaryrefslogtreecommitdiff
path: root/sys/arch/m88k/include/cmmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/m88k/include/cmmu.h')
-rw-r--r--sys/arch/m88k/include/cmmu.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/m88k/include/cmmu.h b/sys/arch/m88k/include/cmmu.h
index c0b41465b4f..65a2aa2b19c 100644
--- a/sys/arch/m88k/include/cmmu.h
+++ b/sys/arch/m88k/include/cmmu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmmu.h,v 1.31 2013/11/02 23:10:30 miod Exp $ */
+/* $OpenBSD: cmmu.h,v 1.32 2013/11/16 18:45:20 miod Exp $ */
/*
* Mach Operating System
* Copyright (c) 1993-1992 Carnegie Mellon University
@@ -33,6 +33,8 @@
*/
#if defined(_KERNEL) && !defined(_LOCORE)
+#include <machine/mmu.h>
+
/* machine dependent cmmu function pointer structure */
struct cmmu_p {
cpuid_t (*init)(void);
@@ -107,6 +109,12 @@ extern __cpu_simple_lock_t cmmu_cpu_lock;
#define DMA_CACHE_SYNC_INVAL 0x01
#define DMA_CACHE_SYNC 0x02
+/*
+ * Current BATC values.
+ */
+
+extern batc_t global_dbatc[BATC_MAX], global_ibatc[BATC_MAX];
+
#endif /* _KERNEL && !_LOCORE */
#endif /* _M88K_CMMU_H_ */