Changeset 22f7769 in mainline for arch/mips32/src/exception.c


Ignore:
Timestamp:
2005-10-17T23:31:41Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4b2c872d
Parents:
75eacab
Message:

Rename cpu_priority_{high|low|restore|read} functions to interrupts_{disable|enable|restore|read}.
Rename pri_t to ipl_t (Interrupt Priority Level).
Rename thread_t::pri to thread_t::priority.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/src/exception.c

    r75eacab r22f7769  
    4747         * NOTE ON OPERATION ORDERING
    4848         *
    49          * On entry, cpu_priority_high() must be called before
     49         * On entry, interrupts_disable() must be called before
    5050         * exception bit is cleared.
    5151         */
    5252
    53         cpu_priority_high();
     53        interrupts_disable();
    5454        cp0_status_write(cp0_status_read() & ~ (cp0_status_exl_exception_bit |
    5555                                                cp0_status_um_bit));
Note: See TracChangeset for help on using the changeset viewer.