Boot monitor shouldn't report memory after 4GB; the addresses are wrong and VM can't deal with it anyways

This commit is contained in:
Erik van der Kouwe 2010-08-12 13:44:47 +00:00
parent a7ed430587
commit f8c56494c9

View file

@ -549,7 +549,7 @@ static void initialize(void)
int i, j;
j = 0;
for(i = 0; i < mem_entries ; i++) {
if (j < 3 && emem[i].type == 1) {
if (j < 3 && emem[i].type == 1 && !emem[i].base_hi) {
mem[j].base = emem[i].base_lo;
mem[j].size = emem[i].size_lo;
j++;