Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amiga/amiga Declare physmem extern. It is actually ...
details: https://anonhg.NetBSD.org/src/rev/0b9e35d0a209
branches: trunk
changeset: 780686:0b9e35d0a209
user: rkujawa <rkujawa%NetBSD.org@localhost>
date: Fri Aug 03 13:14:20 2012 +0000
description:
Declare physmem extern. It is actually initialized in amiga_init.c
(using RELOC). Discussed with martin@ and is@. Probably similar fix should
be applied to other m68k ports, but amiga is the only m68k machine I have.
diffstat:
sys/arch/amiga/amiga/machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 24cf918d9261 -r 0b9e35d0a209 sys/arch/amiga/amiga/machdep.c
--- a/sys/arch/amiga/amiga/machdep.c Fri Aug 03 12:42:10 2012 +0000
+++ b/sys/arch/amiga/amiga/machdep.c Fri Aug 03 13:14:20 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.238 2012/07/27 05:36:09 matt Exp $ */
+/* $NetBSD: machdep.c,v 1.239 2012/08/03 13:14:20 rkujawa Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -48,7 +48,7 @@
#include "opt_m68k_arch.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.238 2012/07/27 05:36:09 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.239 2012/08/03 13:14:20 rkujawa Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -136,7 +136,7 @@
int machineid;
int maxmem; /* max memory per process */
-int physmem = MAXMEM; /* max supported memory, changes to actual */
+extern int physmem; /* max supported memory, changes to actual */
extern int freebufspace;
extern u_int lowram;
Home |
Main Index |
Thread Index |
Old Index