From: Erik van der Kouwe Date: Thu, 12 Aug 2010 13:44:47 +0000 (+0000) Subject: Boot monitor shouldn't report memory after 4GB; the addresses are wrong and VM can... X-Git-Tag: v3.1.8~78 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=f8c56494c9ea5e7879f91a9a7f9eafa798a8ecec;p=minix.git Boot monitor shouldn't report memory after 4GB; the addresses are wrong and VM can't deal with it anyways --- diff --git a/boot/boot.c b/boot/boot.c index 2d919e04e..ee93fc551 100644 --- a/boot/boot.c +++ b/boot/boot.c @@ -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++;