]> git.proxmox.com Git - mirror_qemu.git/commit - target/ppc/translate_init.c.inc
PPC: Fix L2CR write accesses
authorAlexander Graf <agraf@suse.de>
Wed, 25 Sep 2013 13:41:12 +0000 (15:41 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 25 Oct 2013 21:25:45 +0000 (23:25 +0200)
commit9633fcc6a02f23e3ef00aa5fe3fe9c41f57c3456
tree16d9d3685c5a6625b341f36a3d79026d393641b9
parentbbfb6f132abc032229f5c1f25e6e959861c6f759
PPC: Fix L2CR write accesses

Commit 2345f1c01 was supposed to render L2CR writes into noops. Instead,
it made them illegal instruction traps which apparently didn't confuse
XNU, but can easily confuse other OSs.

Fix it up by actually doing nothing when we write to L2CR.

Reported-by: Julio Guerra <guerr@julio.in>
Signed-off-by: Alexander Graf <agraf@suse.de>
Tested-by: Julio Guerra <guerr@julio.in>
target-ppc/translate_init.c