diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-28 19:45:05 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-28 19:45:05 +0000 |
commit | 623a930ec30a75e6d6482ca8208d7bf1ca8d359b (patch) | |
tree | 6953605abd679c357ffba546fd43907a4ce9ea0e /linux-user/elfload.c | |
parent | 8e129e0748f866d730f1e39bff296219fedac244 (diff) | |
download | hqemu-623a930ec30a75e6d6482ca8208d7bf1ca8d359b.zip hqemu-623a930ec30a75e6d6482ca8208d7bf1ca8d359b.tar.gz |
Implement missing MIPS supervisor mode bits.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3472 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/elfload.c')
-rw-r--r-- | linux-user/elfload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index ab5a74e..2d758de 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -374,7 +374,7 @@ static inline void init_thread(struct target_pt_regs *_regs, struct image_info * static inline void init_thread(struct target_pt_regs *regs, struct image_info *infop) { - regs->cp0_status = CP0St_UM; + regs->cp0_status = 2 << CP0St_KSU; regs->cp0_epc = infop->entry; regs->regs[29] = infop->start_stack; } |