diff options
| author | Max Filippov <jcmvbkbc@gmail.com> | 2020-04-28 15:59:08 -0700 |
|---|---|---|
| committer | Max Filippov <jcmvbkbc@gmail.com> | 2020-04-30 04:37:36 -0700 |
| commit | 59afd43daedabe672c289326a5f268f737d35252 (patch) | |
| tree | 5e05536b197aa12ee9d984bd18527f910f322604 /scripts/minikconf.py | |
| parent | 648db19685b7030aa558a4ddbd3a8e53d8c9a062 (diff) | |
| download | focaccia-qemu-59afd43daedabe672c289326a5f268f737d35252.tar.gz focaccia-qemu-59afd43daedabe672c289326a5f268f737d35252.zip | |
target/xtensa: work around missing SR definitions
Xtensa configuration overlays for recent releases may have special registers for which [rwx]sr opcodes are defined, but they are not listed as SR in xtensa_sysreg_name and associated functions. As a result generic translate_[rwx]sr* functions generate access to uninitialized cpu_SR causing segfault at runtime. Don't try to access cpu_SR for such registers, ignore writes and return 0 for reads. Cc: qemu-stable@nongnu.org Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'scripts/minikconf.py')
0 files changed, 0 insertions, 0 deletions