[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 1/4] prep: Remove bogus BIOS size check
From: |
Alexander Graf |
Subject: |
[Qemu-devel] Re: [PATCH 1/4] prep: Remove bogus BIOS size check |
Date: |
Sun, 19 Dec 2010 10:52:38 +0100 |
On 14.12.2010, at 01:49, Andreas Färber wrote:
> 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.
>
> Cc: Hervé Poussineau <address@hidden>
> Cc: Alexander Graf <address@hidden>
> Signed-off-by: Andreas Färber <address@hidden>
> ---
> 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");
> - }
>
The bios gets mapped to 0xfff00000, so it can at most be 0x100000 bytes long
which is 1MB. The bogus part of the check is the first, the nip part.
Alex
- [Qemu-devel] [PATCH 0/4] ppc: Fix PReP emulation, Andreas Färber, 2010/12/13
- [Qemu-devel] [PATCH 1/4] prep: Remove bogus BIOS size check, Andreas Färber, 2010/12/13
- [Qemu-devel] [PATCH 2/4] prep: Add ELF support, Andreas Färber, 2010/12/13
- [Qemu-devel] [PATCH, RFC 3/4] prep: Fix duplicate ISA IDE IRQ, Andreas Färber, 2010/12/13
- [Qemu-devel] [FYI 4/4] prep: Quickfix for ioport, Andreas Färber, 2010/12/13
- Re: [Qemu-devel] [FYI 4/4] prep: Quickfix for ioport, Andreas Färber, 2010/12/26
- Re: [Qemu-devel] [FYI 4/4] prep: Quickfix for ioport, Alexander Graf, 2010/12/26
- Re: [Qemu-devel] [FYI 4/4] prep: Quickfix for ioport, Andreas Färber, 2010/12/26
- Re: [Qemu-devel] [PATCH, RFC 3/4] prep: Fix duplicate ISA IDE IRQ, Andreas Färber, 2010/12/20
- Re: [Qemu-devel] [PATCH, RFC 3/4] prep: Fix duplicate ISA IDE IRQ, Alexander Graf, 2010/12/20
[Qemu-devel] Re: [PATCH 1/4] prep: Remove bogus BIOS size check,
Alexander Graf <=
[Qemu-devel] Re: [PATCH 0/4] ppc: Fix PReP emulation, Alexander Graf, 2010/12/19
- [Qemu-devel] Re: [PATCH 0/4] ppc: Fix PReP emulation, Andreas Färber, 2010/12/19
- [Qemu-devel] Re: [PATCH 0/4] ppc: Fix PReP emulation, Alexander Graf, 2010/12/19
- [Qemu-devel] Re: [PATCH 0/4] ppc: Fix PReP emulation, Andreas Färber, 2010/12/19
- [Qemu-devel] Re: [PATCH 0/4] ppc: Fix PReP emulation, Alexander Graf, 2010/12/20
- Re: [Qemu-devel] Re: [PATCH 0/4] ppc: Fix PReP emulation, Andreas Färber, 2010/12/20
- Re: [Qemu-devel] Re: [PATCH 0/4] ppc: Fix PReP emulation, Alexander Graf, 2010/12/20
- Re: [Qemu-devel] Re: [PATCH 0/4] ppc: Fix PReP emulation, Andreas Färber, 2010/12/20