Module Name: src
Committed By: skrll
Date: Wed Jul 8 06:58:33 UTC 2020
Modified Files:
src/sys/arch/arm/include/arm32: param.h
Log Message:
Define USPACE in terms of UPAGES (not the other way around) now that
NBPG is fixed at 4K
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/arm/include/arm32/param.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/include/arm32/param.h
diff -u src/sys/arch/arm/include/arm32/param.h:1.31 src/sys/arch/arm/include/arm32/param.h:1.32
--- src/sys/arch/arm/include/arm32/param.h:1.31 Wed Jul 8 06:54:57 2020
+++ src/sys/arch/arm/include/arm32/param.h Wed Jul 8 06:58:33 2020
@@ -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 */