summaryrefslogtreecommitdiff
path: root/sys/vm/pmap.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-08 08:09:45 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-08 08:09:45 +0000
commit95da2243c76760307b218cb7f05645e68a73e8af (patch)
tree594a78dc6e16ba4f07e3c1bc9c44def6966cf19e /sys/vm/pmap.h
parent0579d34f9bf07b4a6bfebb51a83de3ac8356c01f (diff)
Change the paddr_t pmap_extract(struct pmap *, vaddr_t) interface to
boolean_t pmap_extract(struct pmap *, vaddr_t, paddr_t *). Matches NetBSD. Tested by various people on various platforms.
Diffstat (limited to 'sys/vm/pmap.h')
-rw-r--r--sys/vm/pmap.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/vm/pmap.h b/sys/vm/pmap.h
index 25b5cf2fe4b..f7394f414b6 100644
--- a/sys/vm/pmap.h
+++ b/sys/vm/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.16 2001/05/09 15:31:22 art Exp $ */
+/* $OpenBSD: pmap.h,v 1.17 2001/06/08 08:09:42 art Exp $ */
/* $NetBSD: pmap.h,v 1.16 1996/03/31 22:15:32 pk Exp $ */
/*
@@ -147,18 +147,17 @@ void pmap_destroy __P((pmap_t));
#if defined(PMAP_NEW) && defined(__i386__)
#ifdef notyet
int pmap_enter __P((pmap_t, vaddr_t, paddr_t, vm_prot_t, int));
-boolean_t pmap_extract __P((pmap_t, vaddr_t, paddr_t *));
#else
int _pmap_enter __P((pmap_t, vaddr_t, paddr_t, vm_prot_t, int));
#define pmap_enter(pmap, va, pa, prot, wired, access_type) \
(_pmap_enter((pmap), (va), (pa), (prot), ((wired) ? PMAP_WIRED : 0)))
-boolean_t _pmap_extract __P((pmap_t, vaddr_t, paddr_t *));
#endif
#else
void pmap_enter __P((pmap_t,
vaddr_t, paddr_t, vm_prot_t, boolean_t, vm_prot_t));
#endif
-paddr_t pmap_extract __P((pmap_t, vaddr_t));
+
+boolean_t pmap_extract __P((pmap_t, vaddr_t, paddr_t *));
#if defined(PMAP_NEW) && defined(PMAP_GROWKERNEL)
vaddr_t pmap_growkernel __P((vaddr_t));
#endif