]> git.proxmox.com Git - qemu.git/commit
target-xtensa: restrict available SRs by enabled options
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 5 Dec 2012 03:15:22 +0000 (07:15 +0400)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 8 Dec 2012 18:48:26 +0000 (18:48 +0000)
commitfe0bd475aa31e60674f7f53b85dc293108026202
treee67f93a3470a0738eed141ebe5633872416b31a2
parent4e41d2f5830a76d3fe92b3d3b18cc9f2ee927770
target-xtensa: restrict available SRs by enabled options

Beginning with the RA-2004.1 release, SR access instructions (rsr, wsr,
xsr) are associated with their corresponding SR and raise illegal opcode
exception in case the register is not configured for the core.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-xtensa/cpu.h
target-xtensa/overlay_tool.h
target-xtensa/translate.c