summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-28 14:20:17 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-28 14:20:17 +0000
commit3c590e6dd36d1bd513749528be7e50b6b57a3420 (patch)
treec7760f639ca6d6be5cff24f95b917ce8a425059d /sys/arch/hppa
parentb3a75296ffff7c75a11696f1dc07ddf8fe8ad4ca (diff)
make pmap_virtual_space madatory in all pmaps.
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/pmap.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/hppa/hppa/pmap.c b/sys/arch/hppa/hppa/pmap.c
index 5f4277fd920..0ee35b4bdd2 100644
--- a/sys/arch/hppa/hppa/pmap.c
+++ b/sys/arch/hppa/hppa/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.49 2001/11/28 14:13:06 art Exp $ */
+/* $OpenBSD: pmap.c,v 1.50 2001/11/28 14:20:16 art Exp $ */
/*
* Copyright (c) 1998-2001 Michael Shalayeff
@@ -763,6 +763,13 @@ pmap_bootstrap(vstart, vend)
and we use it for pmap_steal_memory */
}
+void
+pmap_virtual_space(vaddr_t *vstartp, vaddr_t *vendp)
+{
+ *vstartp = virtual_avail;
+ *vendp = virtual_end;
+}
+
/*
* pmap_steal_memory(size, startp, endp)
* steals memory block of size `size' from directly mapped