From 77234233d566a98ae6e199b981575864c130f198 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 30 Jun 2005 21:53:14 +0000 Subject: oops, used USRPTSIZE incorrectly --- sys/arch/vax/include/vmparam.h | 4 ++-- sys/arch/vax/vax/pmap.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/vax/include/vmparam.h b/sys/arch/vax/include/vmparam.h index 57a96bddddf..1c48b37d7ae 100644 --- a/sys/arch/vax/include/vmparam.h +++ b/sys/arch/vax/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.23 2005/06/29 06:07:04 deraadt Exp $ */ +/* $OpenBSD: vmparam.h,v 1.24 2005/06/30 21:53:13 deraadt Exp $ */ /* $NetBSD: vmparam.h,v 1.32 2000/03/07 00:05:59 matt Exp $ */ /*- @@ -61,7 +61,7 @@ #define MAXTSIZ (8*1024*1024) /* max text size */ #endif #ifndef MAXDSIZ -#define MAXDSIZ (40*1024*1024) /* max data size */ +#define MAXDSIZ (32*1024*1024) /* max data size */ #endif #ifndef MAXSSIZ #define MAXSSIZ (8*1024*1024) /* max stack size */ diff --git a/sys/arch/vax/vax/pmap.c b/sys/arch/vax/vax/pmap.c index d0c27cbaf1e..794561ef026 100644 --- a/sys/arch/vax/vax/pmap.c +++ b/sys/arch/vax/vax/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.35 2005/06/29 06:07:07 deraadt Exp $ */ +/* $OpenBSD: pmap.c,v 1.36 2005/06/30 21:53:13 deraadt Exp $ */ /* $NetBSD: pmap.c,v 1.74 1999/11/13 21:32:25 matt Exp $ */ /* * Copyright (c) 1994, 1998, 1999 Ludd, University of Lule}, Sweden. @@ -403,7 +403,7 @@ pmap_pinit(pmap) (u_long *)&pmap->pm_p0br); if (res) panic("pmap_pinit"); - pmap->pm_p0lr = vax_btoc(MAXTSIZ + USRPTSIZE) | AST_PCB; + pmap->pm_p0lr = vax_btoc(MAXTSIZ + 40*1024*1024) | AST_PCB; (vaddr_t)pmap->pm_p1br = (vaddr_t)pmap->pm_p0br + bytesiz - 0x800000; pmap->pm_p1lr = (0x200000 - vax_btoc(MAXSSIZ)); pmap->pm_stack = USRSTACK; -- cgit v1.2.3