]> git.proxmox.com Git - qemu.git/commit
PPC: Ignore writes to L2CR
authorAlexander Graf <agraf@suse.de>
Wed, 26 Jun 2013 22:31:42 +0000 (00:31 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 30 Jun 2013 23:11:17 +0000 (01:11 +0200)
commit2345f1c0146672ce6eb0025bd2cfa4afabdef5fd
treeb94436f776f444f9fa0f1083f8c2d2f2815d784a
parent0d54a5024f846ce7d53db25012fb4c7481e971ff
PPC: Ignore writes to L2CR

The L2CR register contains a number of bits that either impose configuration
which we can't deal with or mean "something is in progress until the bit is
0 again".

Since we don't model the former and we do want to accomodate guests using the
latter semantics, let's just ignore writes to L2CR. That way guests always read
back 0 and are usually happy with that.

Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate_init.c