Catch up with "physical memory" sysctl change.

(MFi386: rev 1.608)
This commit is contained in:
Peter Grehan 2005-03-01 07:59:24 +00:00
parent aeadeefcdf
commit 8c8cb52737
2 changed files with 4 additions and 0 deletions

View File

@ -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.

View File

@ -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.