summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/include/armv6-m
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-23 14:46:02 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-23 14:46:02 +0000
commita8cb02138ce460fbd66d242d34dda71082062538 (patch)
tree85f69dab32369af97249168fb8eb32b976ceeb40 /nuttx/arch/arm/include/armv6-m
parentf4a74d79f3111b79f408eb4070e125cad78e9082 (diff)
downloadpx4-nuttx-a8cb02138ce460fbd66d242d34dda71082062538.tar.gz
px4-nuttx-a8cb02138ce460fbd66d242d34dda71082062538.tar.bz2
px4-nuttx-a8cb02138ce460fbd66d242d34dda71082062538.zip
Rework of kernel build signal dispatch to user-space handlers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5778 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/include/armv6-m')
-rw-r--r--nuttx/arch/arm/include/armv6-m/syscall.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/nuttx/arch/arm/include/armv6-m/syscall.h b/nuttx/arch/arm/include/armv6-m/syscall.h
index 75b9c4f8a..812e863a5 100644
--- a/nuttx/arch/arm/include/armv6-m/syscall.h
+++ b/nuttx/arch/arm/include/armv6-m/syscall.h
@@ -241,25 +241,6 @@ static inline uintptr_t sys_call6(unsigned int nbr, uintptr_t parm1,
return reg0;
}
-/* This inline function is used by user-space code in order to return from
- * a signal handler.
- */
-
-#if defined(CONFIG_NUTTX_KERNEL) && !defined(__KERNEL__)
-static inline void signal_handler_return(void) noreturn_function;
-static inline void signal_handler_return(void)
-{
- __asm__ __volatile__
- (
- " mov r0, %0\n"
- " svc %1\n"
- :
- : "i" (SYS_signal_handler_return), "i"(SYS_syscall)
- : "memory"
- );
-}
-#endif
-
/****************************************************************************
* Public Variables
****************************************************************************/