Sparc: avoid AREG0 for raise_exception and helper_debug
Make raise_exception() and helper_debug() take a parameter forCPUState instead of relying on global env. Move the functionsto helper.c.
Reviewed-by: Richard Henderson <rth@twiddle.net>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Sparc: move trivial functions from op_helper.c
These functions don't need access to CPUState or already pass it,so relocating them from op_helper.c to helper.c and int64_helper.cis trivial.
Sparc: split helper.c
Move CPU init to cpu_init.c and interrupt handling to int32_helper.cfor Sparc32 and int64_helper.c for Sparc64.
Sparc: fix coding style
Before the next patch, fix coding style of the areas affected.
m48t59: fix write access
Fix incorrect order of arguments, letting writes to NVRAM succeed.
It looks like guests never write to the device, only read from it, since the bugoriginates back to 819385c58b319d9f80d676cefaed0610118f03ac.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
m48t59: drop obsolete address base arithmetic
Remove now incorrect address base arithmetic, missed by9936d6e42392f1440505dfa9df065eabd251cadf. Fixes Sparc64 boot.
pci_bridge: fix typo
Reviewed-by: Avi Kivity <avi@redhat.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
compatfd.c: Don't pass NULL pointer to SYS_signalfd
Don't pass a NULL pointer in to SYS_signalfd in qemu_signalfd_available():this isn't valid and Valgrind complains about it.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>...
linux-user: Fix broken "-version" option
Fix the "-version" option, which was accidentally broken in commitfc9c541: * exit after printing version information rather than proceeding blithely onward (and likely printing the full usage message) * correct the cut-n-paste error in the usage message for it...
hw/arm_gic.c: Fix save/load of irq_target array
irq_target array saving/loading is in the wrong loop.Version bump.
Signed-off-by: Dmitry Koshelev <karaghiozis@gmail.com>Acked-by: Andreas Färber <afaerber@suse.de>Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
View all revisions | View revisions
Also available in: Atom