Browse Source
* Set SR_S if SR_PS is set, not the other way around (that is, set SR_S if SR_PS is not set).confprec
1 changed files with 1 additions and 1 deletions
@ -1,5 +1,5 @@ |
|||
require_supervisor; |
|||
set_pcr(PCR_SR, ((sr & ~(SR_S | SR_EI)) | |
|||
((sr & SR_PS) ? 0 : SR_S)) | |
|||
((sr & SR_PS) ? SR_S : 0)) | |
|||
((sr & SR_PEI) ? SR_EI : 0)); |
|||
set_pc(epc); |
|||
|
|||
Loading…
Reference in new issue