]> git.ipfire.org Git - thirdparty/qemu.git/commit - target-sparc/translate.c
Sparc: avoid AREG0 for raise_exception and helper_debug
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 3 Jul 2011 08:19:42 +0000 (08:19 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 23 Oct 2011 15:08:22 +0000 (15:08 +0000)
commitbc2653195a98ffdf44372c5ea655d5c05ea714b8
tree4d9a1d7eed8ccffbffbf69fee596b4f3729599a3
parent2336c1f1970a5c5cfd34a1785af646c960b6f43f
Sparc: avoid AREG0 for raise_exception and helper_debug

Make raise_exception() and helper_debug() take a parameter for
CPUState instead of relying on global env. Move the functions
to helper.c.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-sparc/helper.c
target-sparc/helper.h
target-sparc/op_helper.c
target-sparc/translate.c