From: Aurelien Jarno <aurelien@aurel32.net>
To: "Hervé Poussineau" <hpoussin@reactos.org>
Cc: "Andreas Färber" <andreas.faerber@web.de>,
qemu-devel@nongnu.org, "Alexander Graf" <agraf@suse.de>
Subject: Re: [Qemu-devel] [PATCH 1/2] prep: Remove bogus BIOS size check
Date: Sat, 29 Jan 2011 16:03:42 +0100 [thread overview]
Message-ID: <20110129150342.GE4213@ohm.aurel32.net> (raw)
In-Reply-To: <1295387036-16961-1-git-send-email-hpoussin@reactos.org>
On Tue, Jan 18, 2011 at 10:43:55PM +0100, Hervé Poussineau wrote:
> From: Andreas Färber <andreas.faerber@web.de>
>
> 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 <agraf@suse.de>
> Signed-off-by: Andreas Färber <andreas.faerber@web.de>
> Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
> ---
> hw/ppc_prep.c | 3 ---
> 1 files changed, 0 insertions(+), 3 deletions(-)
Thanks, applied.
> 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");
> - }
>
> if (linux_boot) {
> kernel_base = KERNEL_LOAD_ADDR;
> --
> 1.7.2.3
>
>
>
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
prev parent reply other threads:[~2011-01-29 15:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-18 21:43 [Qemu-devel] [PATCH 1/2] prep: Remove bogus BIOS size check Hervé Poussineau
2011-01-18 21:43 ` [Qemu-devel] [PATCH 2/2] prep: Disable second IDE channel, as long as ISA IDE emulation doesn't support same irq for both channels Hervé Poussineau
2011-01-29 15:03 ` Aurelien Jarno
2011-01-19 19:49 ` [Qemu-devel] Re: [PATCH 1/2] prep: Remove bogus BIOS size check Andreas Färber
2011-01-29 15:03 ` Aurelien Jarno [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110129150342.GE4213@ohm.aurel32.net \
--to=aurelien@aurel32.net \
--cc=agraf@suse.de \
--cc=andreas.faerber@web.de \
--cc=hpoussin@reactos.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.