summaryrefslogtreecommitdiff
path: root/sys/arch/vax/include/sgmap.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-11-10 21:05:07 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-11-10 21:05:07 +0000
commit8eb95dbc559008de0a791633109476d4cbd840e4 (patch)
tree627197d52f30e641201d75393af1726f3c018702 /sys/arch/vax/include/sgmap.h
parent958872a868e1d3b880930ae4d3daf3e60c550244 (diff)
Get rid of the "struct pte" bitfield, and use straight integers.
Makes the code slightly more readble, removes casts, and makes some specific constants defined for the bitfields disappear in pmap.c... No functional change.
Diffstat (limited to 'sys/arch/vax/include/sgmap.h')
-rw-r--r--sys/arch/vax/include/sgmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/vax/include/sgmap.h b/sys/arch/vax/include/sgmap.h
index 52d1f68cd57..74e7d750bd0 100644
--- a/sys/arch/vax/include/sgmap.h
+++ b/sys/arch/vax/include/sgmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sgmap.h,v 1.5 2002/03/14 01:26:48 millert Exp $ */
+/* $OpenBSD: sgmap.h,v 1.6 2003/11/10 21:05:06 miod Exp $ */
/* $NetBSD: sgmap.h,v 1.3 2000/05/17 21:22:18 matt Exp $ */
/*-
@@ -56,7 +56,7 @@
*/
struct vax_sgmap {
struct extent *aps_ex; /* extent map to manage sgva space */
- struct pte *aps_pt; /* page table */
+ pt_entry_t *aps_pt; /* page table */
bus_addr_t aps_sgvabase; /* base of the sgva space */
bus_size_t aps_sgvasize; /* size of the sgva space */
bus_addr_t aps_pa; /* Address in region */
@@ -64,7 +64,7 @@ struct vax_sgmap {
};
void vax_sgmap_init(bus_dma_tag_t, struct vax_sgmap *,
- const char *, bus_addr_t, bus_size_t, struct pte *, bus_size_t);
+ const char *, bus_addr_t, bus_size_t, pt_entry_t *, bus_size_t);
int vax_sgmap_alloc(bus_dmamap_t, bus_size_t,
struct vax_sgmap *, int);