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:
parent
08f8440ba4
commit
4dcdb61974
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user