summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-07-12 06:09:49 +0000
committerbde <bde@FreeBSD.org>1996-07-12 06:09:49 +0000
commit294358211b57d00be08e710293c217150443a891 (patch)
treed63c2e446e6c11b85e785a3c849554dd782f1156 /sys
parent410e1d2c55dbf994256e759a880679a366aaa230 (diff)
downloadFreeBSD-src-294358211b57d00be08e710293c217150443a891.zip
FreeBSD-src-294358211b57d00be08e710293c217150443a891.tar.gz
Export `dumpmag' to utilities but not to the kernel.
Restored a truncated comment.
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/machdep.c7
-rw-r--r--sys/i386/i386/machdep.c7
2 files changed, 8 insertions, 6 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 999ba0c..54276c0 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.193 1996/06/18 01:22:04 bde Exp $
+ * $Id: machdep.c,v 1.194 1996/07/08 19:44:39 wollman Exp $
*/
#include "npx.h"
@@ -785,7 +785,7 @@ die:
* exported (symorder) and used at least by savecore(8)
*
*/
-u_long dumpmag = 0x8fca0101UL;
+static u_long const dumpmag = 0x8fca0101UL;
static int dumpsize = 0; /* also for savecore */
@@ -1284,7 +1284,8 @@ init386(first)
/*
* Maxmem isn't the "maximum memory", it's one larger than the
- * highest page of of the physical address space. It
+ * highest page of the physical address space. It should be
+ * called something like "Maxphyspage".
*/
Maxmem = pagesinext + 0x100000/PAGE_SIZE;
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
index 999ba0c..54276c0 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.193 1996/06/18 01:22:04 bde Exp $
+ * $Id: machdep.c,v 1.194 1996/07/08 19:44:39 wollman Exp $
*/
#include "npx.h"
@@ -785,7 +785,7 @@ die:
* exported (symorder) and used at least by savecore(8)
*
*/
-u_long dumpmag = 0x8fca0101UL;
+static u_long const dumpmag = 0x8fca0101UL;
static int dumpsize = 0; /* also for savecore */
@@ -1284,7 +1284,8 @@ init386(first)
/*
* Maxmem isn't the "maximum memory", it's one larger than the
- * highest page of of the physical address space. It
+ * highest page of the physical address space. It should be
+ * called something like "Maxphyspage".
*/
Maxmem = pagesinext + 0x100000/PAGE_SIZE;
OpenPOWER on IntegriCloud