mirror of
https://github.com/apache/nuttx.git
synced 2026-09-08 01:46:35 +00:00
arch/x86: 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:
parent
92f097e354
commit
2d6eef74b5
2 changed files with 8 additions and 3 deletions
|
|
@ -153,6 +153,7 @@
|
|||
#ifndef __ASSEMBLY__
|
||||
struct xcptcontext
|
||||
{
|
||||
#ifdef CONFIG_ENABLE_ALL_SIGNALS
|
||||
/* These are saved copies of instruction pointer and EFLAGS used during
|
||||
* signal processing.
|
||||
*
|
||||
|
|
@ -164,7 +165,7 @@ struct xcptcontext
|
|||
|
||||
uint32_t saved_eip;
|
||||
uint32_t saved_eflags;
|
||||
|
||||
#endif
|
||||
/* Register save area */
|
||||
|
||||
uint32_t regs[XCPTCONTEXT_REGS];
|
||||
|
|
|
|||
|
|
@ -34,8 +34,12 @@ CMN_CSRCS += x86_getintstack.c x86_initialize.c
|
|||
CMN_CSRCS += x86_modifyreg8.c x86_modifyreg16.c x86_modifyreg32.c
|
||||
CMN_CSRCS += x86_nputs.c x86_switchcontext.c x86_tcbinfo.c
|
||||
CMN_CSRCS += i486_irq.c i486_regdump.c i486_releasestack.c
|
||||
CMN_CSRCS += i486_savestate.c i486_sigdeliver.c i486_stackframe.c
|
||||
CMN_CSRCS += i486_schedulesigaction.c i486_usestack.c
|
||||
CMN_CSRCS += i486_savestate.c i486_stackframe.c
|
||||
CMN_CSRCS += i486_usestack.c
|
||||
|
||||
ifeq ($(CONFIG_ENABLE_ALL_SIGNALS),y)
|
||||
CMN_CSRCS += i486_schedulesigaction.c i486_sigdeliver.c
|
||||
endif
|
||||
|
||||
# Required QEMU files
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue