summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2005-03-01 07:59:24 +0000
committergrehan <grehan@FreeBSD.org>2005-03-01 07:59:24 +0000
commit98882623fab78f1911e3766a957313f134e24205 (patch)
tree6619bc06c935bf24e0be64468bf2824baa5ff5dc /sys/powerpc/aim
parent6db6af010a98fbe3e559af60594dbc13c43c2040 (diff)
downloadFreeBSD-src-98882623fab78f1911e3766a957313f134e24205.zip
FreeBSD-src-98882623fab78f1911e3766a957313f134e24205.tar.gz
Catch up with "physical memory" sysctl change.
(MFi386: rev 1.608)
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r--sys/powerpc/aim/machdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c
index 495d5da..3e905e1 100644
--- a/sys/powerpc/aim/machdep.c
+++ b/sys/powerpc/aim/machdep.c
@@ -160,6 +160,7 @@ static int grab_mcontext(struct thread *, mcontext_t *, int);
void asm_panic(char *);
long Maxmem = 0;
+long realmem = 0;
struct pmap ofw_pmap;
extern int ofmsr;
@@ -197,6 +198,7 @@ cpu_startup(void *dummy)
#endif
printf("real memory = %ld (%ld MB)\n", ptoa(Maxmem),
ptoa(Maxmem) / 1048576);
+ realmem = Maxmem;
/*
* Display any holes after the first chunk of extended memory.
OpenPOWER on IntegriCloud