aboutsummaryrefslogtreecommitdiff
path: root/include/hw/i2c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-04-20 19:49:40 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-05-02 16:49:34 +0200
commit84c2fdc397b6609d1cef76aec2f1367139d1372e (patch)
tree026a408aafdf5dfe159a336eb3ed22cb76d94f44 /include/hw/i2c
parentbcad139192b0101e3d7ef593144c314bed4cb8c2 (diff)
downloadqemu-84c2fdc397b6609d1cef76aec2f1367139d1372e.zip
qemu-84c2fdc397b6609d1cef76aec2f1367139d1372e.tar.gz
qemu-84c2fdc397b6609d1cef76aec2f1367139d1372e.tar.bz2
target/mips: Fix CACHEE opcode (CACHE using EVA addressing)
The CACHEE opcode "requires CP0 privilege". The pseudocode checks in the ISA manual is: if is_eva and not C0.Config5.EVA: raise exception('RI') if not IsCoprocessor0Enabled(): raise coprocessor_exception(0) Add the missing checks. Inspired-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210420175426.1875746-1-f4bug@amsat.org>
Diffstat (limited to 'include/hw/i2c')
0 files changed, 0 insertions, 0 deletions