Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/include/arm32 Define USPACE in terms of UPAGES ...



details:   https://anonhg.NetBSD.org/src/rev/9c92d2687ce9
branches:  trunk
changeset: 935659:9c92d2687ce9
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Jul 08 06:58:33 2020 +0000

description:
Define USPACE in terms of UPAGES (not the other way around) now that
NBPG is fixed at 4K

diffstat:

 sys/arch/arm/include/arm32/param.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 1a2d08fd7343 -r 9c92d2687ce9 sys/arch/arm/include/arm32/param.h
--- a/sys/arch/arm/include/arm32/param.h        Wed Jul 08 06:54:57 2020 +0000
+++ b/sys/arch/arm/include/arm32/param.h        Wed Jul 08 06:58:33 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.31 2020/07/08 06:54:57 skrll Exp $ */
+/*     $NetBSD: param.h,v 1.32 2020/07/08 06:58:33 skrll Exp $ */
 
 /*
  * Copyright (c) 1994,1995 Mark Brinicombe.
@@ -54,8 +54,8 @@
 
 #define SSIZE          1               /* initial stack size/NBPG */
 #define SINCR          1               /* increment of stack/NBPG */
-#define USPACE         8192            /* total size of u-area */
-#define UPAGES         (USPACE / NBPG) /* pages of u-area */
+#define UPAGES         2
+#define USPACE         (UPAGES * NBPG) /* total size of u-area */
 
 #ifndef MSGBUFSIZE
 #define MSGBUFSIZE     16384           /* default message buffer size */



Home | Main Index | Thread Index | Old Index