qemu-e2k/linux-user
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
..
alpha
arm rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN 2009-07-27 14:09:21 -05:00
cris
i386 linux-user: update syscall list 2009-06-16 16:56:29 +03:00
m68k linux-user: update syscall list 2009-06-16 16:56:29 +03:00
microblaze
mips linux-user: update syscall list 2009-06-16 16:56:29 +03:00
mips64 linux-user: update syscall list 2009-06-16 16:56:29 +03:00
mipsn32 linux-user: update syscall list 2009-06-16 16:56:29 +03:00
ppc Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
sh4 linux-user: update syscall list 2009-06-16 16:56:29 +03:00
sparc linux-user: update syscall list 2009-06-16 16:56:29 +03:00
sparc64 linux-user: update syscall list 2009-06-16 16:56:29 +03:00
x86_64 linux-user: update syscall list 2009-06-16 16:56:29 +03:00
elfload32.c
elfload.c More NULL pointer fixes 2009-08-01 10:13:20 +00:00
envlist.c
envlist.h
errno_defs.h
flat.h
flatload.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
ioctls.h
linux_loop.h
linuxload.c More NULL pointer fixes 2009-08-01 10:13:20 +00:00
m68k-sim.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
main.c Sparc64: replace tsptr with helper routine 2009-08-04 20:22:10 +00:00
mmap.c rename USE_NPTL to CONFIG_USE_NPTL 2009-07-27 14:10:55 -05:00
path.c
qemu-types.h
qemu.h rename USE_NPTL to CONFIG_USE_NPTL 2009-07-27 14:10:55 -05:00
signal.c Fix most warnings (errors with -Werror) when debugging is enabled 2009-07-20 17:19:25 +00:00
socket.h
strace.c linux-user: strace now handles guest stringscorrectly [v2] 2009-06-19 02:51:47 +04:00
strace.list
syscall_defs.h microblaze: Support the latest mmu-kernel stat64 ABI. 2009-06-23 19:28:27 +02:00
syscall_types.h
syscall.c linux-user: make FUTEX_* calls honor timeout parameter 2009-08-03 20:33:42 +04:00
uaccess.c Fix missing strnlen problems 2009-07-01 18:24:44 +00:00
vm86.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00