Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 412 → Rev 413

/SPARTAN/trunk/arch/mips32/src/exception.c
46,11 → 46,11
/*
* NOTE ON OPERATION ORDERING
*
* On entry, cpu_priority_high() must be called before
* On entry, interrupts_disable() must be called before
* exception bit is cleared.
*/
 
cpu_priority_high();
interrupts_disable();
cp0_status_write(cp0_status_read() & ~ (cp0_status_exl_exception_bit |
cp0_status_um_bit));