diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-23 17:32:41 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-23 17:32:41 +0000 |
commit | 10b6fd31cc5b27540bdde4999060a42de3e44d26 (patch) | |
tree | 96203f9eb5cff73526dd98af4ed20a40080a758a /nuttx/arch/z16 | |
parent | 8a547ed6db3b7e17d90c8ebda107cafc98e7723e (diff) | |
download | px4-nuttx-10b6fd31cc5b27540bdde4999060a42de3e44d26.tar.gz px4-nuttx-10b6fd31cc5b27540bdde4999060a42de3e44d26.tar.bz2 px4-nuttx-10b6fd31cc5b27540bdde4999060a42de3e44d26.zip |
Mostly costmetic updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5452 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z16')
-rw-r--r-- | nuttx/arch/z16/src/common/up_doirq.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nuttx/arch/z16/src/common/up_doirq.c b/nuttx/arch/z16/src/common/up_doirq.c index 670e6985d..9964f4432 100644 --- a/nuttx/arch/z16/src/common/up_doirq.c +++ b/nuttx/arch/z16/src/common/up_doirq.c @@ -90,6 +90,15 @@ FAR chipreg_t *up_doirq(int irq, FAR chipreg_t *regs) { FAR chipreg_t *savestate; + /* Nested interrupts are not supported in this implementation. If + * you want to implement nested interrupts, you would have to (1) change + * the way that current_regs is handled and (2) the design associated + * with CONFIG_ARCH_INTERRUPTSTACK. The savestate variable will not + * work for that purpose as implemented here because only the outermost + * nested interrupt can result in a context switch (it can probably be + * deleted). + */ + /* Current regs non-zero indicates that we are processing * an interrupt; current_regs is also used to manage * interrupt level context switches. |