mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 06:39:01 +08:00
arch/misoc: Add support to disable signals actions related data struct
Add support to disable signals actions related struct Co-authored-by: guoshichao <guoshichao@xiaomi.com> Signed-off-by: Chengdong Wang <wangchengdong@lixiang.com>
This commit is contained in:
committed by
Alan C. Assis
parent
23fa9b16b3
commit
8df791b057
@@ -181,6 +181,7 @@
|
||||
|
||||
struct xcptcontext
|
||||
{
|
||||
#ifdef CONFIG_ENABLE_ALL_SIGNALS
|
||||
/* These additional register save locations are used to implement the
|
||||
* signal delivery trampoline.
|
||||
*
|
||||
@@ -200,6 +201,7 @@ struct xcptcontext
|
||||
|
||||
uint32_t sigreturn;
|
||||
#endif
|
||||
#endif /* CONFIG_ENABLE_ALL_SIGNALS */
|
||||
|
||||
#ifdef CONFIG_BUILD_KERNEL
|
||||
/* The following array holds information needed to return from each nested
|
||||
|
||||
@@ -263,6 +263,7 @@ struct xcpt_syscall_s
|
||||
|
||||
struct xcptcontext
|
||||
{
|
||||
#ifdef CONFIG_ENABLE_ALL_SIGNALS
|
||||
/* These additional register save locations are used to implement the
|
||||
* signal delivery trampoline.
|
||||
*/
|
||||
@@ -277,6 +278,7 @@ struct xcptcontext
|
||||
|
||||
uint32_t sigreturn;
|
||||
#endif
|
||||
#endif /* CONFIG_ENABLE_ALL_SIGNALS */
|
||||
|
||||
#ifdef CONFIG_BUILD_KERNEL
|
||||
/* The following array holds information needed to return from each nested
|
||||
|
||||
@@ -33,5 +33,8 @@ CHIP_CSRCS = lm32_allocateheap.c lm32_copystate.c lm32_createstack.c
|
||||
CHIP_CSRCS += lm32_decodeirq.c lm32_doirq.c lm32_exit.c lm32_flushcache.c
|
||||
CHIP_CSRCS += lm32_idle.c lm32_initialstate.c lm32_irq.c lm32_usetack.c
|
||||
CHIP_CSRCS += lm32_registerdump.c lm32_releasestack.c lm32_swint.c
|
||||
CHIP_CSRCS += lm32_stackframe.c lm32_switchcontext.c lm32_sigdeliver.c
|
||||
CHIP_CSRCS += lm32_schedulesigaction.c lm32_saveusercontext.c
|
||||
CHIP_CSRCS += lm32_stackframe.c lm32_switchcontext.c lm32_saveusercontext.c
|
||||
|
||||
ifeq ($(CONFIG_ENABLE_ALL_SIGNALS),y)
|
||||
CHIP_CSRCS += lm32_schedulesigaction.c lm32_sigdeliver.c
|
||||
endif
|
||||
|
||||
@@ -34,5 +34,8 @@ CHIP_CSRCS += minerva_decodeirq.c minerva_doirq.c minerva_doexceptions.c
|
||||
CHIP_CSRCS += minerva_exit.c minerva_flushcache.c minerva_idle.c minerva_irq.c
|
||||
CHIP_CSRCS += minerva_initialstate.c minerva_registerdump.c minerva_releasestack.c
|
||||
CHIP_CSRCS += minerva_stackframe.c minerva_swint.c minerva_saveusercontext.c
|
||||
CHIP_CSRCS += minerva_switchcontext.c minerva_schedulesigaction.c minerva_sigdeliver.c
|
||||
CHIP_CSRCS += minerva_usetack.c
|
||||
CHIP_CSRCS += minerva_switchcontext.c minerva_usetack.c
|
||||
|
||||
ifeq ($(CONFIG_ENABLE_ALL_SIGNALS),y)
|
||||
CHIP_CSRCS += minerva_schedulesigaction.c minerva_sigdeliver.c
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user