summaryrefslogtreecommitdiff
path: root/nuttx/arch/mips/include/mips32/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/mips/include/mips32/irq.h')
-rwxr-xr-xnuttx/arch/mips/include/mips32/irq.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/nuttx/arch/mips/include/mips32/irq.h b/nuttx/arch/mips/include/mips32/irq.h
index e2bb784bc..845eddaad 100755
--- a/nuttx/arch/mips/include/mips32/irq.h
+++ b/nuttx/arch/mips/include/mips32/irq.h
@@ -48,12 +48,31 @@
* Definitions
****************************************************************************/
+/* Lots of missing logic here */
+
+#define XCPTCONTEXT_REGS 1
+
/****************************************************************************
* Public Types
****************************************************************************/
#ifndef __ASSEMBLY__
+struct xcptcontext
+{
+ /* The following function pointer is non-NULL if there are pending signals
+ * to be processed.
+ */
+
+#ifndef CONFIG_DISABLE_SIGNALS
+ void *sigdeliver; /* Actual type is sig_deliver_t */
+#endif
+
+ /* Register save area */
+
+ uint32_t regs[XCPTCONTEXT_REGS];
+};
+
/****************************************************************************
* Inline functions
****************************************************************************/