prep: Fix offset of BIOS MemoryRegion
authorAndreas Färber <afaerber@suse.de>
Thu, 5 Jan 2012 15:48:23 +0000 (16:48 +0100)
committerAndreas Färber <andreas.faerber@web.de>
Thu, 19 Jan 2012 23:27:12 +0000 (00:27 +0100)
commit809680c017b944676a34d2712560da61895f4a6d
tree76306a8b3e0380ef34841f8b58e8878b9a4ccc31
parent515689235c4c3d9c3f0406ddcdd21ed8da77062b
prep: Fix offset of BIOS MemoryRegion

Since 0c90c52fab5ea92d7f12b29bfe26a7cd75d9efcb (ppc_prep: convert to memory
API) OHW was "Trying to execute code outside RAM or ROM at 0xfff00700".

The BIOS MemoryRegion is created with a fixed size of 1 MiB.
Ensure that the full size can be accessed since the exception
vectors are located at 0xfff00000 and the BIOS may want to use them.

It thereby no longer depends on the actual BIOS binary size.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Cc: Avi Kivity <avi@redhat.com>
Cc: Alexander Graf <agraf@suse.de>
hw/ppc_prep.c