diff options
Diffstat (limited to 'nuttx/arch/rgmp/include/irq.h')
-rw-r--r-- | nuttx/arch/rgmp/include/irq.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/arch/rgmp/include/irq.h b/nuttx/arch/rgmp/include/irq.h index 7f8a06dbb..00c977560 100644 --- a/nuttx/arch/rgmp/include/irq.h +++ b/nuttx/arch/rgmp/include/irq.h @@ -44,9 +44,9 @@ #ifndef __ASSEMBLY__ -#include <rgmp/trap.h> #include <rgmp/spinlock.h> #include <arch/types.h> +#include <rgmp/trap.h> struct xcptcontext { struct Trapframe *tf; @@ -56,6 +56,9 @@ struct xcptcontext { void *sigdeliver; }; +void push_xcptcontext(struct xcptcontext *xcp); +void pop_xcptcontext(struct xcptcontext *xcp); + extern int nest_irq; static inline irqstate_t irqsave(void) @@ -68,5 +71,6 @@ static inline void irqrestore(irqstate_t flags) popcli(flags); } -#endif +#endif /* !__ASSEMBLY__ */ + #endif |