diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-05-18 23:01:27 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-05-18 23:01:27 +0000 |
commit | 1e50f36f83e7b40b457f56c7ebd05c22b6122585 (patch) | |
tree | 52880c3be23a32a2074a026f380aea8497dc00a5 /nuttx/arch/arm/src/cortexm3 | |
parent | 3a44a6f462a612c7a3f3dec4e4c815c49fe18595 (diff) |
Add S/W interrupt 0 handlertrunk
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3627 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch/arm/src/cortexm3')
-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 f7e55a98b2..2ec1228b9e 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. */ |