From 9e141689d7bbfe968a6a51587e315f5c0f676cc5 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 27 Sep 2005 21:50:40 +0000 Subject: Do not initialize physmem to a magic value at compile time. --- sys/arch/hp300/hp300/machdep.c | 5 ++--- sys/arch/mac68k/mac68k/machdep.c | 5 ++--- sys/arch/mvme68k/mvme68k/machdep.c | 6 ++---- 3 files changed, 6 insertions(+), 10 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/hp300/hp300/machdep.c b/sys/arch/hp300/hp300/machdep.c index 36a301a2b86..40fd6cf4d58 100644 --- a/sys/arch/hp300/hp300/machdep.c +++ b/sys/arch/hp300/hp300/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.101 2005/02/27 22:08:41 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.102 2005/09/27 21:50:36 miod Exp $ */ /* $NetBSD: machdep.c,v 1.121 1999/03/26 23:41:29 mycroft Exp $ */ /* @@ -86,7 +86,6 @@ #include -#define MAXMEM 64*1024 /* XXX - from cmap.h */ #include #ifdef USELEDS @@ -122,7 +121,7 @@ int bufpages = 0; int bufcachepercent = BUFCACHEPERCENT; int maxmem; /* max memory per process */ -int physmem = MAXMEM; /* max supported memory, changes to actual */ +int physmem; /* max supported memory, changes to actual */ /* * safepri is a safe priority for sleep to set for a spin-wait * during autoconfiguration or after a panic. diff --git a/sys/arch/mac68k/mac68k/machdep.c b/sys/arch/mac68k/mac68k/machdep.c index 13c50d0c26b..c03628ddf97 100644 --- a/sys/arch/mac68k/mac68k/machdep.c +++ b/sys/arch/mac68k/mac68k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.118 2005/08/06 19:51:44 martin Exp $ */ +/* $OpenBSD: machdep.c,v 1.119 2005/09/27 21:50:39 miod Exp $ */ /* $NetBSD: machdep.c,v 1.207 1998/07/08 04:39:34 thorpej Exp $ */ /* @@ -116,7 +116,6 @@ void netintr(void); -#define MAXMEM 64*1024 /* XXX - from cmap.h */ #include #include @@ -192,7 +191,7 @@ int bufpages = 0; int bufcachepercent = BUFCACHEPERCENT; int maxmem; /* max memory per process */ -int physmem = MAXMEM; /* max supported memory, changes to actual */ +int physmem; /* max supported memory, changes to actual */ /* * safepri is a safe priority for sleep to set for a spin-wait diff --git a/sys/arch/mvme68k/mvme68k/machdep.c b/sys/arch/mvme68k/mvme68k/machdep.c index 9f5066b499d..31f3ef2354b 100644 --- a/sys/arch/mvme68k/mvme68k/machdep.c +++ b/sys/arch/mvme68k/mvme68k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.88 2005/08/06 14:26:52 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.89 2005/09/27 21:50:39 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -110,8 +110,6 @@ #include #endif -#define MAXMEM 64*1024 /* XXX - from cmap.h */ - #include /* the following is used externally (sysctl_hw) */ @@ -143,7 +141,7 @@ int bufpages = 0; int bufcachepercent = BUFCACHEPERCENT; int maxmem; /* max memory per process */ -int physmem = MAXMEM; /* max supported memory, changes to actual */ +int physmem; /* max supported memory, changes to actual */ /* * safepri is a safe priority for sleep to set for a spin-wait * during autoconfiguration or after a panic. -- cgit v1.2.3