summaryrefslogtreecommitdiffstats
path: root/include/exec/memory-internal.h
diff options
context:
space:
mode:
authorMax Filippov2016-11-12 10:15:07 +0100
committerMax Filippov2017-01-15 22:01:56 +0100
commit4b37aaa879d508494df14bdc49830cdf8aa77a57 (patch)
tree65b0d726aed37ae96c2bd0c5f46e12c26132b13e /include/exec/memory-internal.h
parenttarget/xtensa: tests: add ccount write tests (diff)
downloadqemu-4b37aaa879d508494df14bdc49830cdf8aa77a57.tar.gz
qemu-4b37aaa879d508494df14bdc49830cdf8aa77a57.tar.xz
qemu-4b37aaa879d508494df14bdc49830cdf8aa77a57.zip
target/xtensa: fix ICACHE/DCACHE options detection
Configuration overlay does not explicitly say whether there are ICACHE and DCACHE in the core. Current code uses XCHAL_[ID]CACHE_WAYS to detect if corresponding cache option is enabled, but that's not correct: on cores without cache these macros are defined as 1, not as 0. Check XCHAL_[ID]CACHE_SIZE instead. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'include/exec/memory-internal.h')
0 files changed, 0 insertions, 0 deletions