From df5a7be0fa135d7eddf1b1423400e24cdb69a023 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 27 Nov 2011 16:51:34 +0000 Subject: [PATCH] update some comments git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4126 42af7a65-404d-4744-a932-0658087f49c3 --- arch/mips/src/pic32mx/pic32mx-decodeirq.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/src/pic32mx/pic32mx-decodeirq.c b/arch/mips/src/pic32mx/pic32mx-decodeirq.c index d756570342e..9649fe53760 100644 --- a/arch/mips/src/pic32mx/pic32mx-decodeirq.c +++ b/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) {