diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2021-11-30 21:17:28 +0000 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-12-06 11:57:31 +0100 |
commit | 24ade8c5decd092bde5e863bc542db45d924ae12 (patch) | |
tree | 6464872b3c202f723400fdd231631130cfe2ab8c /io | |
parent | 99fc08366b06282614daeda989d2fde6ab8a707f (diff) | |
download | qemu-24ade8c5decd092bde5e863bc542db45d924ae12.zip qemu-24ade8c5decd092bde5e863bc542db45d924ae12.tar.gz qemu-24ade8c5decd092bde5e863bc542db45d924ae12.tar.bz2 |
hw/mips/bootloader: Fix write_ulong()
bl_gen_write_ulong uses sd for both 32 and 64 bit CPU,
while sd is illegal on 32 bit CPUs.
Replace sd with sw on 32bit CPUs.
Fixes: 3ebbf86128f ("hw/mips: Add a bootloader helper")
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211130211729.7116-2-jiaxun.yang@flygoat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'io')
0 files changed, 0 insertions, 0 deletions