diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-18 23:01:27 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-18 23:01:27 +0000 |
commit | 3c9ac1908bae6d6d4eb147366361aa28a1ca972a (patch) | |
tree | 52880c3be23a32a2074a026f380aea8497dc00a5 /nuttx/arch/arm/src | |
parent | 3a6e6d40569f3b267f88417d3f5c7816f5bde1d5 (diff) | |
download | px4-nuttx-3c9ac1908bae6d6d4eb147366361aa28a1ca972a.tar.gz px4-nuttx-3c9ac1908bae6d6d4eb147366361aa28a1ca972a.tar.bz2 px4-nuttx-3c9ac1908bae6d6d4eb147366361aa28a1ca972a.zip |
Add S/W interrupt 0 handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3627 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src')
-rw-r--r-- | nuttx/arch/arm/src/cortexm3/up_svcall.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/cortexm3/up_svcall.c b/nuttx/arch/arm/src/cortexm3/up_svcall.c index f7e55a98b..2ec1228b9 100644 --- a/nuttx/arch/arm/src/cortexm3/up_svcall.c +++ b/nuttx/arch/arm/src/cortexm3/up_svcall.c @@ -80,7 +80,7 @@ */ #undef DEBUG_SVCALL /* Define to debug SVCall */ -#ifdef DEBUG_HARDFAULTS +#ifdef DEBUG_SVCALL # define svcdbg(format, arg...) slldbg(format, ##arg) #else # define svcdbg(x...) @@ -99,10 +99,10 @@ ****************************************************************************/ /**************************************************************************** - * Name: up_svcall + * Name: dispatch_syscall * * Description: - * This is SVCall exception handler that performs context switching + * Dispatch a system call to the appropriate handling logic. * ****************************************************************************/ @@ -308,7 +308,7 @@ int up_svcall(int irq, FAR void *context) * R2 = restoreregs * * In this case, we do both: We save the context registers to the save - * register area reference by the saved contents of R1 nad then set + * register area reference by the saved contents of R1 and then set * current_regs to to the save register area referenced by the saved * contents of R2. */ |