]> git.proxmox.com Git - qemu.git/commit
PPC: BookE: Support 32 and 64 bit wide MAS2
authorAlexander Graf <agraf@suse.de>
Thu, 21 Jun 2012 12:01:06 +0000 (14:01 +0200)
committerAlexander Graf <agraf@suse.de>
Sat, 23 Jun 2012 23:04:52 +0000 (01:04 +0200)
commitba38ab8d429a326c2a9c30110df84f0cad441094
treebd435744e2c612a54e13203f5e5c1630f0ef2e0b
parent91f477fd9c1a6ff73d57a4352d78bd49b5180e30
PPC: BookE: Support 32 and 64 bit wide MAS2

The MAS registers on BookE are all 32 bit wide, except for MAS2, which
can hold up to 64 bit on 64 bit capable CPUs. Reflect this in the SPR
setting code, so that the guest can never write invalid values in them.

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