diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-12-15 15:18:37 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-12-15 15:18:37 +0000 |
commit | dd8def9c62adad520e200c875fc5342b3c44f5c2 (patch) | |
tree | 0bb66d3cfbbaf8bed000bc05638c685f89e61147 /sys/arch | |
parent | 2f56da4e007f9706f514608b1a0dc62e70c3b85a (diff) |
Grow the number of reserved pt pages.
Solves the 64MB problem. Somewhat based on NetBSD.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amiga/amiga/pmap.c | 4 | ||||
-rw-r--r-- | sys/arch/amiga/include/vmparam.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amiga/amiga/pmap.c b/sys/arch/amiga/amiga/pmap.c index 9f0358648e9..73c787eef87 100644 --- a/sys/arch/amiga/amiga/pmap.c +++ b/sys/arch/amiga/amiga/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.24 2000/11/08 11:42:44 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.25 2000/12/15 15:18:36 art Exp $ */ /* $NetBSD: pmap.c,v 1.39 1997/06/10 18:26:41 veego Exp $ */ /* @@ -235,7 +235,7 @@ u_int *Sysseg; u_int *Sysseg_pa; u_int *Sysmap, *Sysptmap; u_int *Segtabzero, *Segtabzeropa; -vm_size_t Sysptsize = VM_KERNEL_PT_PAGES + 4 / NPTEPG; +vm_size_t Sysptsize = VM_KERNEL_PT_PAGES; struct pmap kernel_pmap_store; vm_map_t pt_map; diff --git a/sys/arch/amiga/include/vmparam.h b/sys/arch/amiga/include/vmparam.h index 2019779a09f..3ad186e1aa1 100644 --- a/sys/arch/amiga/include/vmparam.h +++ b/sys/arch/amiga/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.8 2000/05/27 20:25:04 art Exp $ */ +/* $OpenBSD: vmparam.h,v 1.9 2000/12/15 15:18:36 art Exp $ */ /* $NetBSD: vmparam.h,v 1.16 1997/07/12 16:18:36 perry Exp $ */ /* @@ -192,7 +192,7 @@ struct pmap_physseg { /* * number of kernel PT pages (initial only, can grow dynamically) */ -#define VM_KERNEL_PT_PAGES ((vm_size_t)2) /* XXX: SYSPTSIZE */ +#define VM_KERNEL_PT_PAGES ((vm_size_t)8) /* * XXX Override MI values for number of kernel maps and entries to statically |