summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
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