target/xtensa: fix ps.ring use in MPU configs
commit6c438056c2910b14e6bc0d5b5272dd87fbc65495
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 4 Nov 2019 08:01:27 +0000 (4 00:01 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 6 Jan 2020 19:46:16 +0000 (6 11:46 -0800)
treebeaf226c3ef2fa1780da8c0d2d62a6d36e2aef28
parentf4d8cf148e43d942ef1202071e0cd66ce40322e0
target/xtensa: fix ps.ring use in MPU configs

Allow ps.ring modification by wsr.ps/xsr.ps and use ps.ring value in
xtensa_get_[c]ring on configurations with MPU.

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