- Cut down amount of memory in 64MB when BIOS tells the amount of

memory >= 64MB.
- Don't perform destructive memory inspection for 15 - 16MB system
  area.

Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
		chi@bd.mbn.or.jp (Chiharu Shibata)
This commit is contained in:
KATO Takenori 1999-12-26 04:22:27 +00:00
parent 3fc3b10351
commit 03d2edf1b2
2 changed files with 18 additions and 2 deletions

View File

@ -1428,7 +1428,14 @@ getmemsize_pc98(int first)
* memory probe.
*/
if (Maxmem >= 0x4000)
#ifdef PC98
{
Maxmem = 0x4000; /* XXX */
speculative_mprobe = TRUE;
}
#else
speculative_mprobe = TRUE;
#endif
else
speculative_mprobe = FALSE;
@ -1479,7 +1486,8 @@ getmemsize_pc98(int first)
/* skip system area */
if (target_page>=ptoa(Maxmem_under16M) &&
target_page < ptoa(4096))
page_bad = TRUE;
continue;
/*
* map page into kernel: valid, read/write, non-cacheable
*/

View File

@ -1428,7 +1428,14 @@ getmemsize_pc98(int first)
* memory probe.
*/
if (Maxmem >= 0x4000)
#ifdef PC98
{
Maxmem = 0x4000; /* XXX */
speculative_mprobe = TRUE;
}
#else
speculative_mprobe = TRUE;
#endif
else
speculative_mprobe = FALSE;
@ -1479,7 +1486,8 @@ getmemsize_pc98(int first)
/* skip system area */
if (target_page>=ptoa(Maxmem_under16M) &&
target_page < ptoa(4096))
page_bad = TRUE;
continue;
/*
* map page into kernel: valid, read/write, non-cacheable
*/