diff options
-rw-r--r-- | sys/pc98/i386/machdep.c | 4 | ||||
-rw-r--r-- | sys/pc98/pc98/machdep.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 7779104..415f8bd 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -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. */ diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 7779104..415f8bd 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -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. */ |