arch/or1k: 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:
wangchengdong
2026-01-13 09:44:43 +08:00
committed by Alan C. Assis
parent 8df791b057
commit ec2684c885
2 changed files with 6 additions and 1 deletions
+2
View File
@@ -171,6 +171,7 @@ struct xcptcontext
uint32_t regs[XCPTCONTEXT_REGS];
#ifdef CONFIG_ENABLE_ALL_SIGNALS
/* These are saved copies of LR and CPSR used during
* signal processing.
*
@@ -182,6 +183,7 @@ struct xcptcontext
uint32_t saved_pc;
uint32_t saved_flags;
#endif /* CONFIG_ENABLE_ALL_SIGNALS */
};
#endif
+4 -1
View File
@@ -32,7 +32,6 @@ CMN_CSRCS = or1k_initialize.c \
or1k_stackframe.c \
or1k_initialstate.c \
or1k_switchcontext.c \
or1k_schedulesigaction.c \
or1k_copyfullstate.c \
or1k_registerdump.c \
or1k_getintstack.c \
@@ -45,6 +44,10 @@ CMN_CSRCS = or1k_initialize.c \
or1k_cpuinfo.c \
mor1kx_start.c
ifeq ($(CONFIG_ENABLE_ALL_SIGNALS),y)
CMN_CSRCS += or1k_schedulesigaction.c
endif
ifeq ($(CONFIG_BUILD_PROTECTED),y)
CMN_CSRCS += or1k_task_start.c or1k_pthread_start.c
#CMN_CSRCS += or1k_signal_dispatch.c