summaryrefslogtreecommitdiffstats
path: root/linux-user
diff options
context:
space:
mode:
authorMax Filippov2012-12-05 04:15:23 +0100
committerBlue Swirl2012-12-08 19:48:26 +0100
commit53593e90d13264dc88b3281ddf75ceaa641df05a (patch)
tree1012b37c8cf0e93b93130060cddbb8d4f7028f6b /linux-user
parenttarget-xtensa: restrict available SRs by enabled options (diff)
downloadqemu-53593e90d13264dc88b3281ddf75ceaa641df05a.tar.gz
qemu-53593e90d13264dc88b3281ddf75ceaa641df05a.tar.xz
qemu-53593e90d13264dc88b3281ddf75ceaa641df05a.zip
target-xtensa: better control rsr/wsr/xsr access to SRs
There are read-only (DEBUGCAUSE, PRID) and write-only (INTCLEAR) SRs, and INTERRUPT/INTSET SR allows rsr/wsr, but not xsr. Raise illeagal opcode exception on illegal access to these SRs. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions