From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=54974 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfJMG-00012S-Kg for qemu-devel@nongnu.org; Tue, 18 Jan 2011 16:45:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PfJLy-000615-1s for qemu-devel@nongnu.org; Tue, 18 Jan 2011 16:44:56 -0500 Received: from smtp5-g21.free.fr ([212.27.42.5]:47762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PfJLx-0005zJ-8f for qemu-devel@nongnu.org; Tue, 18 Jan 2011 16:44:38 -0500 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Tue, 18 Jan 2011 22:43:55 +0100 Message-Id: <1295387036-16961-1-git-send-email-hpoussin@reactos.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 1/2] prep: Remove bogus BIOS size check List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Alexander Graf From: Andreas F=C3=A4rber r3480 added this check to account for the entry vector 0xfff00100 to be available for CPUs that need it. Today however, the NIP is not yet initialized at this point (zero), so the check always triggers. Moreover, BIOS size check is already done previously, so this part can be removed too. Cc: Alexander Graf Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Herv=C3=A9 Poussineau --- hw/ppc_prep.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c index 1492266..6b22122 100644 --- a/hw/ppc_prep.c +++ b/hw/ppc_prep.c @@ -600,9 +600,6 @@ static void ppc_prep_init (ram_addr_t ram_size, if (filename) { qemu_free(filename); } - if (env->nip < 0xFFF80000 && bios_size < 0x00100000) { - hw_error("PowerPC 601 / 620 / 970 need a 1MB BIOS\n"); - } =20 if (linux_boot) { kernel_base =3D KERNEL_LOAD_ADDR; --=20 1.7.2.3