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


Ignore:
Timestamp:
2005-10-17T23:31:41Z (20 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/mm/tlb.c

    r75eacab r22f7769  
    316316{
    317317        entry_hi_t hi;
    318         pri_t pri;
     318        ipl_t ipl;
    319319        int i; 
    320320       
    321321        ASSERT(asid != ASID_INVALID);
    322322
    323         pri = cpu_priority_high();
     323        ipl = interrupts_disable();
    324324       
    325325        for (i = 0; i < TLB_SIZE; i++) {
     
    337337        }
    338338       
    339         cpu_priority_restore(pri);
     339        interrupts_restore(ipl);
    340340}
    341341
Note: See TracChangeset for help on using the changeset viewer.