summaryrefslogtreecommitdiff
path: root/sys/arch/m88k/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-02-01 00:52:20 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-02-01 00:52:20 +0000
commitc7505ccc4bbeb05ca3ed3314b1f337d34648d8c3 (patch)
treec5ac2e8bf2b29e51290c341c7239665120172c65 /sys/arch/m88k/include
parente0adcd73a6c637fc4289961817c6406377752116 (diff)
Remove dma_cachectl() and rename dma_cachectl_pa() to dma_cachectl() now that
the old vs(4) code is gone.
Diffstat (limited to 'sys/arch/m88k/include')
-rw-r--r--sys/arch/m88k/include/cmmu.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/m88k/include/cmmu.h b/sys/arch/m88k/include/cmmu.h
index cd747581fc3..4861b4c7d7f 100644
--- a/sys/arch/m88k/include/cmmu.h
+++ b/sys/arch/m88k/include/cmmu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmmu.h,v 1.20 2007/12/15 19:33:32 miod Exp $ */
+/* $OpenBSD: cmmu.h,v 1.21 2009/02/01 00:52:17 miod Exp $ */
/*
* Mach Operating System
* Copyright (c) 1993-1992 Carnegie Mellon University
@@ -45,8 +45,7 @@ struct cmmu_p {
void (*flush_tlb)(cpuid_t, u_int, vaddr_t, u_int);
void (*flush_cache)(cpuid_t, paddr_t, psize_t);
void (*flush_inst_cache)(cpuid_t, paddr_t, psize_t);
- void (*dma_cachectl)(pmap_t, vaddr_t, vsize_t, int);
- void (*dma_cachectl_pa)(paddr_t, psize_t, int);
+ void (*dma_cachectl)(paddr_t, psize_t, int);
#ifdef MULTIPROCESSOR
void (*initialize_cpu)(cpuid_t);
#endif
@@ -79,8 +78,7 @@ extern __cpu_simple_lock_t cmmu_cpu_lock;
#define cmmu_flush_tlb(a, b, c, d) (cmmu->flush_tlb)(a, b, c, d)
#define cmmu_flush_cache(a, b, c) (cmmu->flush_cache)(a, b, c)
#define cmmu_flush_inst_cache(a, b, c) (cmmu->flush_inst_cache)(a, b, c)
-#define dma_cachectl(a, b, c, d) (cmmu->dma_cachectl)(a, b, c, d)
-#define dma_cachectl_pa(a, b, c) (cmmu->dma_cachectl_pa)(a, b, c)
+#define dma_cachectl(a, b, c) (cmmu->dma_cachectl)(a, b, c)
#define cmmu_initialize_cpu(a) (cmmu->initialize_cpu)(a)
/*