diff options
author | Andrew Waterman <waterman@s144.Millennium.Berkeley.EDU> | 2011-04-09 17:50:12 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@s144.Millennium.Berkeley.EDU> | 2011-04-09 17:50:12 -0700 |
commit | 53eb346e31582ce814f61f5e8b2c3087aa8c33f2 (patch) | |
tree | bbe82680c77aac681562a3e85ed063f6d471f788 /pk/pk.c | |
parent | 6e7fe98ea95c6da8c573fdc032b5269f08bbacc1 (diff) | |
download | pk-53eb346e31582ce814f61f5e8b2c3087aa8c33f2.zip pk-53eb346e31582ce814f61f5e8b2c3087aa8c33f2.tar.gz pk-53eb346e31582ce814f61f5e8b2c3087aa8c33f2.tar.bz2 |
[sim,pk] reorganized status register
Diffstat (limited to 'pk/pk.c')
-rw-r--r-- | pk/pk.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -127,7 +127,7 @@ void init_tf(trapframe_t* tf, long pc, long sp, int user64) memset(tf,0,sizeof(*tf)); if(sizeof(void*) != 8) kassert(!user64); - tf->sr = (mfpcr(PCR_SR) & (SR_IM | SR_SX)) | SR_S | SR_UC | SR_UC; + tf->sr = (mfpcr(PCR_SR) & (SR_IM | SR_SX)) | SR_S | SR_EC; if(user64) tf->sr |= SR_UX; tf->gpr[30] = sp; |