summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/include/mmu.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-12-16 23:49:48 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-12-16 23:49:48 +0000
commit4c3ee3bc825b44e31dd265ae0db047015e86da6b (patch)
tree7177501c70e488ac5260c2bcd0c5b6ca2644702c /sys/arch/mvme88k/include/mmu.h
parent9e602379a914ff34ca6650a265b85e6ffe484b2d (diff)
Revert the mvme88k to 20011212. Recent changes had not been merged correctly,
and I am fed up with dissecting diffs to put back code that disappeared. This will likely be fixed shortly.
Diffstat (limited to 'sys/arch/mvme88k/include/mmu.h')
-rw-r--r--sys/arch/mvme88k/include/mmu.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/sys/arch/mvme88k/include/mmu.h b/sys/arch/mvme88k/include/mmu.h
index dfa6bb9a219..82e9e5ffdef 100644
--- a/sys/arch/mvme88k/include/mmu.h
+++ b/sys/arch/mvme88k/include/mmu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mmu.h,v 1.13 2001/12/13 08:55:51 smurph Exp $ */
+/* $OpenBSD: mmu.h,v 1.14 2001/12/16 23:49:46 miod Exp $ */
#ifndef __MACHINE_MMU_H__
#define __MACHINE_MMU_H__
@@ -60,7 +60,7 @@ typedef union sdt_entry_template {
typedef struct pt_entry {
unsigned long
pfn:20, /* page frame address */
- rsvA:1, /* reserved (U1 on mc88110) */
+ rsvA:1, /* reserved */
wired:1, /* wired bit <<software>> */
wt:1, /* writethrough (cache control) */
sup:1, /* supervisor protection */
@@ -70,16 +70,10 @@ typedef struct pt_entry {
modified:1, /* modified */
pg_used:1, /* used (referenced) */
prot:1, /* write protect */
- dtype:2; /* descriptor type (bit 2 only on mc88110) */
+ rsvC:1, /* reserved */
+ dtype:1; /* valid */
} pt_entry_t;
-/* mc88110 indirect descriptors */
-typedef struct pt_ind_entry {
- unsigned long
- pda:30, /* page descriptor address */
- dtype:2; /* valid */
-} pt_ind_entry_t;
-
typedef union pte_template {
pt_entry_t pte;
unsigned long bits;
@@ -143,8 +137,6 @@ typedef union batc_template {
*/
#define DT_INVALID 0
#define DT_VALID 1
-#define DT_IND_MASKED 2
-#define DT_IND_UMASKED 3
/*
* Number of entries in a page table.
@@ -251,6 +243,7 @@ extern u_int kvtop __P((vm_offset_t));
#define DMA_CACHE_SYNC 0x1
#define DMA_CACHE_SYNC_INVAL 0x2
#define DMA_CACHE_INV 0x3
+extern void dma_cachectl(vm_offset_t, int, int);
#endif /* __MACHINE_MMU_H__ */