From 98882623fab78f1911e3766a957313f134e24205 Mon Sep 17 00:00:00 2001 From: grehan Date: Tue, 1 Mar 2005 07:59:24 +0000 Subject: Catch up with "physical memory" sysctl change. (MFi386: rev 1.608) --- sys/powerpc/aim/machdep.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/powerpc/aim') 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. -- cgit v1.1