summaryrefslogtreecommitdiff
path: root/nuttx/arch
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-11-27 16:51:34 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-11-27 16:51:34 +0000
commit9a9c763a0191cd488b365daa5e4299b9931b7cd1 (patch)
tree041ab9f5210dc09a0b8ad00d81976abd6fa71652 /nuttx/arch
parentd149715d15cf45b616fd5433907a721e36f810d6 (diff)
downloadpx4-nuttx-9a9c763a0191cd488b365daa5e4299b9931b7cd1.tar.gz
px4-nuttx-9a9c763a0191cd488b365daa5e4299b9931b7cd1.tar.bz2
px4-nuttx-9a9c763a0191cd488b365daa5e4299b9931b7cd1.zip
update some comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4126 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch')
-rw-r--r--nuttx/arch/mips/src/pic32mx/pic32mx-decodeirq.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/arch/mips/src/pic32mx/pic32mx-decodeirq.c b/nuttx/arch/mips/src/pic32mx/pic32mx-decodeirq.c
index d75657034..9649fe537 100644
--- a/nuttx/arch/mips/src/pic32mx/pic32mx-decodeirq.c
+++ b/nuttx/arch/mips/src/pic32mx/pic32mx-decodeirq.c
@@ -152,6 +152,12 @@ uint32_t *pic32mx_decodeirq(uint32_t *regs)
*/
#ifdef CONFIG_PIC32MX_NESTED_INTERRUPTS
+ /* I think there are some task switching issues here. You should not
+ * enable nested interrupts unless you are ready to deal with the
+ * complexities of nested context switching. The logic here is probably
+ * insufficient.
+ */
+
current_regs = savestate;
if (current_regs == NULL)
{