summaryrefslogtreecommitdiff
path: root/nuttx/arch/mips/include/mips32/irq.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-06 19:56:32 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-06 19:56:32 +0000
commit7c2ea5a1a560284b6d22a60d62ac943ec6144096 (patch)
tree8d1191e3b5fe5cb9f0fe1319d45648d859060cae /nuttx/arch/mips/include/mips32/irq.h
parent9e9de3d19ebf1890bfccd0bf63fa0209e2ec9359 (diff)
downloadpx4-nuttx-7c2ea5a1a560284b6d22a60d62ac943ec6144096.tar.gz
px4-nuttx-7c2ea5a1a560284b6d22a60d62ac943ec6144096.tar.bz2
px4-nuttx-7c2ea5a1a560284b6d22a60d62ac943ec6144096.zip
Fix some bad syscall dispatching log. This change is not testable until these is a tested NuttX kernel build.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5713 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/mips/include/mips32/irq.h')
-rw-r--r--nuttx/arch/mips/include/mips32/irq.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/nuttx/arch/mips/include/mips32/irq.h b/nuttx/arch/mips/include/mips32/irq.h
index 01a50029f..22fa6c75e 100644
--- a/nuttx/arch/mips/include/mips32/irq.h
+++ b/nuttx/arch/mips/include/mips32/irq.h
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/mips/include/mips32/irq.h
*
- * Copyright (C) 2011 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -310,11 +310,11 @@
struct xcptcontext
{
+#ifndef CONFIG_DISABLE_SIGNALS
/* 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 */
/* These additional register save locations are used to implement the
@@ -325,6 +325,12 @@ struct xcptcontext
uint32_t saved_status; /* Status with interrupts disabled. */
#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];