target-ppc: initialize MSR appropriately in user-mode
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 10 Dec 2008 15:02:24 +0000 (15:02 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 10 Dec 2008 15:02:24 +0000 (15:02 +0000)
commit190f5cb300bdc9c9511a9fc76a564cfeba360227
tree0ea6e365ecbd649ebbebe695ab80598b54750314
parent729c6759ff6208668cd58fb136e925004d39d8e3
target-ppc: initialize MSR appropriately in user-mode

Mask the initial MSR with the mask from the PowerPC CPU definition.

Noticed by Nathan Froyd.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5964 c046a42c-6fe2-441c-8c8c-71466251a162
target-ppc/helper.c