Changeset 22f7769 in mainline for src/debug/print.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
  • src/debug/print.c

    r75eacab r22f7769  
    286286        va_start(ap, fmt);
    287287
    288         irqpri = cpu_priority_high();
     288        irqpri = interrupts_disable();
    289289        spinlock_lock(&printflock);
    290290
     
    401401out:
    402402        spinlock_unlock(&printflock);
    403         cpu_priority_restore(irqpri);
     403        interrupts_restore(irqpri);
    404404       
    405405        va_end(ap);
Note: See TracChangeset for help on using the changeset viewer.