Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions include/nuttx/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@

#define IRQ_WAKE_THREAD 1

/* Disable/restore local interrupts from code above the arch layer */

#ifndef __ASSEMBLY__
# define irq_save() up_irq_save()
# define irq_restore(flags) up_irq_restore(flags)
#endif

/* Scheduling monitor */

#ifndef CONFIG_SCHED_CRITMONITOR_MAXTIME_THREAD
Expand Down
Loading