summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/include/armv6-m
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/include/armv6-m')
-rw-r--r--nuttx/arch/arm/include/armv6-m/irq.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/arch/arm/include/armv6-m/irq.h b/nuttx/arch/arm/include/armv6-m/irq.h
index 68f8c75d4..f4bfea33f 100644
--- a/nuttx/arch/arm/include/armv6-m/irq.h
+++ b/nuttx/arch/arm/include/armv6-m/irq.h
@@ -147,11 +147,11 @@
#ifndef __ASSEMBLY__
struct xcptcontext
{
+#ifndef CONFIG_DISABLE_SIGNALS
/* The following function pointer is non-zero if there
* are pending signals to be processed.
*/
-#ifndef CONFIG_DISABLE_SIGNALS
void *sigdeliver; /* Actual type is sig_deliver_t */
/* These are saved copies of LR, PRIMASK, and xPSR used during
@@ -163,6 +163,12 @@ struct xcptcontext
uint32_t saved_xpsr;
#endif
+#ifdef CONFIG_NUTTX_KERNEL
+ /* The following holds the return address from a system call */
+
+ uint32_t sysreturn;
+#endif
+
/* Register save area */
uint32_t regs[XCPTCONTEXT_REGS];