]> xenbits.xensource.com Git - qemu-xen.git/commit
target-sh4: ignore ocbp and ocbwb instructions
authorAurelien Jarno <aurelien@aurel32.net>
Sat, 7 Jan 2012 14:20:12 +0000 (15:20 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 10 Jan 2012 17:20:10 +0000 (18:20 +0100)
commit0cdb95549fedc73e13c147ab9dcabcc303426a07
treee57262970370ab760dc72b6022810bdc0d0c8a9c
parent05b922dd0a1919c265361ca62902d6cdaea4cc36
target-sh4: ignore ocbp and ocbwb instructions

ocbp and ocbwb controls the writeback of a cache line to memory. They
are supposed to do nothing in case of a cache miss. Given QEMU only
partially emulate caches, it is safe to ignore these instructions.

This fixes a kernel oops when trying to access an rtl8139 NIC with
recent versions.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-sh4/translate.c