- 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:
parent
3fc3b10351
commit
03d2edf1b2
@ -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
|
||||
*/
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user