Don't use the ptoa() to set the 'realmem' variable. Because F/pc98's policy

is to keep the same as F/i386.
This commit is contained in:
Yoshihiro Takahashi 2005-03-04 14:26:23 +00:00
parent 08f8440ba4
commit 4dcdb61974
2 changed files with 2 additions and 6 deletions

View File

@ -229,9 +229,7 @@ cpu_startup(dummy)
#endif
printf("real memory = %ju (%ju MB)\n", ptoa((uintmax_t)Maxmem),
ptoa((uintmax_t)Maxmem) / 1048576);
/* This truncates if memory > 4GB, is this possible on PC98? */
realmem = (long)ptoa((uintmax_t)Maxmem);
realmem = Maxmem;
/*
* Display any holes after the first chunk of extended memory.
*/

View File

@ -229,9 +229,7 @@ cpu_startup(dummy)
#endif
printf("real memory = %ju (%ju MB)\n", ptoa((uintmax_t)Maxmem),
ptoa((uintmax_t)Maxmem) / 1048576);
/* This truncates if memory > 4GB, is this possible on PC98? */
realmem = (long)ptoa((uintmax_t)Maxmem);
realmem = Maxmem;
/*
* Display any holes after the first chunk of extended memory.
*/