Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/include/arch/asm.h

    rbea6233 r128359eb  
    4545}
    4646
    47 _NO_TRACE static inline void cpu_spin_hint(void)
    48 {
    49 }
    50 
    5147_NO_TRACE static inline void pio_write_8(ioport8_t *port, uint8_t v)
    5248{
     
    8985extern bool interrupts_disabled(void);
    9086
    91 /** Enables interrupts and blocks until an interrupt arrives,
    92  * atomically if possible on target architecture.
    93  * Disables interrupts again before returning to caller.
    94  */
    95 _NO_TRACE static inline void cpu_interruptible_sleep(void)
    96 {
    97         // FIXME: do this atomically
    98         interrupts_enable();
    99         cpu_sleep();
    100         interrupts_disable();
    101 }
    102 
    10387#endif
    10488
Note: See TracChangeset for help on using the changeset viewer.