diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2009-04-13 23:24:37 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2009-04-13 23:24:37 +0000 |
commit | 270dab325d7d6896ac625ba96f433bcc24cebf70 (patch) | |
tree | 0ba336d5cb6e794a9bd7681c730be42e4c8e1d32 /nuttx/arch/arm/src/dm320 | |
parent | a62b217dc7c1e4369f21e8a0908c3a4e22f11de4 (diff) |
Add interrupt decode logic for i.MX
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1701 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch/arm/src/dm320')
-rw-r--r-- | nuttx/arch/arm/src/dm320/dm320_decodeirq.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/dm320/dm320_decodeirq.c b/nuttx/arch/arm/src/dm320/dm320_decodeirq.c index fad9f0faf4..1b5ac401fc 100644 --- a/nuttx/arch/arm/src/dm320/dm320_decodeirq.c +++ b/nuttx/arch/arm/src/dm320/dm320_decodeirq.c @@ -1,7 +1,8 @@ /******************************************************************************** - * dm320/dm320_decodeirq.c + * arch/arm/src/dm320/dm320_decodeirq.c + * arch/arm/src/chip/dm320_decodeirq.c * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -14,7 +15,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -43,6 +44,7 @@ #include <nuttx/arch.h> #include <assert.h> #include <debug.h> + #include "up_arch.h" #include "os_internal.h" #include "up_internal.h" @@ -86,7 +88,7 @@ void up_decodeirq(uint32* regs) int irq = (irqentry >> 2) - 1; - /* Verify that the resulting IRQ number is valie */ + /* Verify that the resulting IRQ number is valid */ if ((unsigned)irq < NR_IRQS) { |