From f8c56494c9ea5e7879f91a9a7f9eafa798a8ecec Mon Sep 17 00:00:00 2001 From: Erik van der Kouwe Date: Thu, 12 Aug 2010 13:44:47 +0000 Subject: [PATCH] Boot monitor shouldn't report memory after 4GB; the addresses are wrong and VM can't deal with it anyways --- boot/boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; -- 2.44.0