mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
arch/sparc: 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
2a0990bd31
commit
8919950326
@@ -429,6 +429,7 @@ struct xcpt_syscall_s
|
|||||||
|
|
||||||
struct xcptcontext
|
struct xcptcontext
|
||||||
{
|
{
|
||||||
|
#ifdef CONFIG_ENABLE_ALL_SIGNALS
|
||||||
/* These additional register save locations are used to implement the
|
/* These additional register save locations are used to implement the
|
||||||
* signal delivery trampoline.
|
* signal delivery trampoline.
|
||||||
*
|
*
|
||||||
@@ -450,6 +451,7 @@ struct xcptcontext
|
|||||||
uint32_t sigreturn;
|
uint32_t sigreturn;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
#endif /* CONFIG_ENABLE_ALL_SIGNALS */
|
||||||
|
|
||||||
#ifdef CONFIG_BUILD_KERNEL
|
#ifdef CONFIG_BUILD_KERNEL
|
||||||
/* The following array holds information needed to return from each nested
|
/* The following array holds information needed to return from each nested
|
||||||
|
|||||||
@@ -27,6 +27,10 @@ include common/Make.defs
|
|||||||
CMN_ASRCS += sparc_v8_syscall.S
|
CMN_ASRCS += sparc_v8_syscall.S
|
||||||
CMN_CSRCS += sparc_v8_copystate.c sparc_v8_doirq.c
|
CMN_CSRCS += sparc_v8_copystate.c sparc_v8_doirq.c
|
||||||
CMN_CSRCS += sparc_v8_initialstate.c sparc_v8_irq.c
|
CMN_CSRCS += sparc_v8_initialstate.c sparc_v8_irq.c
|
||||||
CMN_CSRCS += sparc_v8_schedulesigaction.c sparc_v8_saveusercontext.c
|
CMN_CSRCS += sparc_v8_saveusercontext.c
|
||||||
CMN_CSRCS += sparc_v8_sigdeliver.c sparc_v8_swint1.c sparc_v8_systemreset.c
|
CMN_CSRCS += sparc_v8_swint1.c sparc_v8_systemreset.c
|
||||||
CMN_CSRCS += sparc_v8_switchcontext.c sparc_v8_registerdump.c
|
CMN_CSRCS += sparc_v8_switchcontext.c sparc_v8_registerdump.c
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_ENABLE_ALL_SIGNALS),y)
|
||||||
|
CMN_CSRCS += sparc_v8_schedulesigaction.c sparc_v8_sigdeliver.c
|
||||||
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user