summaryrefslogtreecommitdiff
path: root/sys/arch/vax/include/pmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/vax/include/pmap.h')
-rw-r--r--sys/arch/vax/include/pmap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/vax/include/pmap.h b/sys/arch/vax/include/pmap.h
index d1d483686d3..159a98a2759 100644
--- a/sys/arch/vax/include/pmap.h
+++ b/sys/arch/vax/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.25 2005/06/29 06:07:04 deraadt Exp $ */
+/* $OpenBSD: pmap.h,v 1.26 2005/11/06 22:21:30 miod Exp $ */
/* $NetBSD: pmap.h,v 1.37 1999/08/01 13:48:07 ragge Exp $ */
/*
@@ -91,11 +91,11 @@ struct pv_entry {
/* Mapping macros used when allocating SPT */
#define MAPVIRT(ptr, count) \
- (vm_offset_t)ptr = virtual_avail; \
+ (vaddr_t)ptr = virtual_avail; \
virtual_avail += (count) * VAX_NBPG;
#define MAPPHYS(ptr, count, perm) \
- (vm_offset_t)ptr = avail_start + KERNBASE; \
+ (paddr_t)ptr = avail_start + KERNBASE; \
avail_start += (count) * VAX_NBPG;
#ifdef _KERNEL
@@ -148,7 +148,7 @@ extern struct pmap kernel_pmap_store;
/* Prototypes */
void pmap_bootstrap(void);
-vaddr_t pmap_map(vm_offset_t, vm_offset_t, vm_offset_t, int);
+vaddr_t pmap_map(vaddr_t, paddr_t, paddr_t, int);
void pmap_pinit(pmap_t);
#endif /* _KERNEL */