xemu/target-sparc
Igor Kovalenko 8194f35a0c Sparc64: replace tsptr with helper routine
tl and tsptr of members sparc64 cpu state must be changed
simultaneously to keep trap state window in sync with current
trap level. Currently translation of store to tl does not change
tsptr, which leads to corrupt trap state on corresponding
trap level.

This patch removes tsptr from sparc64 cpu state and replaces
all uses with call to helper routine.

Changes v0->v1:
- reimplemented helper routine with tcg generator
- on cpu reset trap type and pstate are populated with power-on reset
values, including tl=maxtl

Signed-off-by: igor.v.kovalenko@gmail.com
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-08-04 20:22:10 +00:00
..
cpu.h Sparc64: replace tsptr with helper routine 2009-08-04 20:22:10 +00:00
exec.h sparc64: trap handling corrections 2009-07-12 08:46:54 +00:00
helper.c Sparc64: replace tsptr with helper routine 2009-08-04 20:22:10 +00:00
helper.h Use dynamical computation for condition codes 2009-05-10 07:19:11 +00:00
machine.c Sparc64: replace tsptr with helper routine 2009-08-04 20:22:10 +00:00
op_helper.c Sparc64: replace tsptr with helper routine 2009-08-04 20:22:10 +00:00
TODO Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
translate.c Sparc64: replace tsptr with helper routine 2009-08-04 20:22:10 +00:00