Changes in kernel/arch/mips32/include/arch/asm.h [bea6233:128359eb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/include/arch/asm.h
rbea6233 r128359eb 45 45 } 46 46 47 _NO_TRACE static inline void cpu_spin_hint(void)48 {49 }50 51 47 _NO_TRACE static inline void pio_write_8(ioport8_t *port, uint8_t v) 52 48 { … … 89 85 extern bool interrupts_disabled(void); 90 86 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 atomically98 interrupts_enable();99 cpu_sleep();100 interrupts_disable();101 }102 103 87 #endif 104 88
Note:
See TracChangeset
for help on using the changeset viewer.