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
This commit is contained in:
parent
8378e71f13
commit
a32ff1ad95
2 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue