diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-18 21:10:08 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-18 21:10:08 +0000 |
commit | c3998d2feead04441a90dcd45c6a35f8477b7fd6 (patch) | |
tree | 236e9eb67fcdb788b9ccb454e931703fe30a74ce /nuttx/sched/irq_internal.h | |
parent | bef7c0ac3dcfd2277e3df45a5767f27187633bb2 (diff) | |
download | px4-nuttx-c3998d2feead04441a90dcd45c6a35f8477b7fd6.tar.gz px4-nuttx-c3998d2feead04441a90dcd45c6a35f8477b7fd6.tar.bz2 px4-nuttx-c3998d2feead04441a90dcd45c6a35f8477b7fd6.zip |
Add support for ram vectors to the ARMv7-M architecture
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5756 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/irq_internal.h')
-rw-r--r-- | nuttx/sched/irq_internal.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/nuttx/sched/irq_internal.h b/nuttx/sched/irq_internal.h index 28411f64f..ab576c171 100644 --- a/nuttx/sched/irq_internal.h +++ b/nuttx/sched/irq_internal.h @@ -1,7 +1,7 @@ /**************************************************************************** * sched/irq_internal.h * - * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008, 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -66,13 +66,14 @@ extern FAR xcpt_t g_irqvector[NR_IRQS+1]; #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif -EXTERN void weak_function irq_initialize(void); -EXTERN int irq_unexpected_isr(int irq, FAR void *context); +void weak_function irq_initialize(void); +int irq_unexpected_isr(int irq, FAR void *context); #undef EXTERN #ifdef __cplusplus |