diff options
author | Paul Burton <paul.burton@imgtec.com> | 2013-06-14 08:30:44 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2013-07-28 19:53:35 +0200 |
commit | a427338b222b43197c2776cbc996936df0302f51 (patch) | |
tree | 40454bc020295673d3e23a9a8a59c2485ed54030 /block.c | |
parent | a2b8813d62fa5a35adc1a7bf58de5b2ffb754f5d (diff) | |
download | hqemu-a427338b222b43197c2776cbc996936df0302f51.zip hqemu-a427338b222b43197c2776cbc996936df0302f51.tar.gz |
mips_malta: correct reading MIPS revision at 0x1fc00010
Rather than modifying the BIOS code at its original location, copy it
for the 0x1fc00000 region & modify the copy. This means the original
ROM code is correctly readable at 0x1e000010 whilst the MIPS revision
is readable at 0x1fc00010.
Additionally the code previously operated on target memory which would
later be overwritten by the BIOS image upon CPU reset if the -bios
argument was used to specify the BIOS image. This led to the written
MIPS revision being lost. Copying using rom_copy when -bios is used
fixes this issue.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions