diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-27 17:29:35 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-27 17:29:35 +0000 |
commit | a32ff1ad95c4f09420c4b5e19dfd86ded0d2bc79 (patch) | |
tree | 18d22c870716e299295c934bf179b95aafba0a4e /linux-user/elfload.c | |
parent | 8378e71f136a021e795d41ceae64eedadcff291c (diff) | |
download | hqemu-a32ff1ad95c4f09420c4b5e19dfd86ded0d2bc79.zip hqemu-a32ff1ad95c4f09420c4b5e19dfd86ded0d2bc79.tar.gz |
PowerPC user-mode fix: MSR is now entirelly set-up in the cpu_reset routine.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3457 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/elfload.c')
-rw-r--r-- | linux-user/elfload.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index fbfa3b0..ab5a74e 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -329,7 +329,6 @@ static inline void init_thread(struct target_pt_regs *_regs, struct image_info * abi_ulong entry, toc; #endif - _regs->msr = 1 << MSR_PR; /* Set user mode */ _regs->gpr[1] = infop->start_stack; #if defined(TARGET_PPC64) && !defined(TARGET_ABI32) entry = ldq_raw(infop->entry) + infop->load_addr; |