Move signal-related files from sched/ to sched/signal
This commit is contained in:
parent
08879ca34c
commit
0385a00a60
@ -183,20 +183,17 @@ endif
|
||||
|
||||
IRQ_SRCS = irq_initialize.c irq_attach.c irq_dispatch.c irq_unexpectedisr.c
|
||||
|
||||
include signal/Make.defs
|
||||
include mqueue/Make.defs
|
||||
|
||||
CSRCS = $(MISC_SRCS) $(TSK_SRCS) $(GRP_SRCS) $(SCHED_SRCS) $(WDOG_SRCS)
|
||||
CSRCS += $(TIME_SRCS) $(SEM_SRCS) $(TIMER_SRCS) $(PGFILL_SRCS)
|
||||
CSRCS += $(IRQ_SRCS) $(CLOCK_SRCS) $(MQUEUE_SRCS)
|
||||
CSRCS += $(IRQ_SRCS) $(CLOCK_SRCS) $(MQUEUE_SRCS) $(SIGNAL_SRCS)
|
||||
|
||||
ifneq ($(CONFIG_DISABLE_PTHREAD),y)
|
||||
CSRCS += $(PTHREAD_SRCS)
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_DISABLE_SIGNALS),y)
|
||||
CSRCS += $(SIGNAL_SRCS)
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_DISABLE_ENVIRON),y)
|
||||
CSRCS += $(ENV_SRCS)
|
||||
endif
|
||||
|
@ -49,7 +49,7 @@
|
||||
#include <nuttx/lib.h>
|
||||
|
||||
#include "env_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
#include "pthread_internal.h"
|
||||
#include "mqueue/mqueue.h"
|
||||
#include "group_internal.h"
|
||||
|
@ -47,7 +47,7 @@
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "group_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
#if defined(HAVE_TASK_GROUP) && !defined(CONFIG_DISABLE_SIGNALS)
|
||||
|
||||
|
@ -44,7 +44,7 @@ ifneq ($(CONFIG_DISABLE_SIGNALS),y)
|
||||
MQUEUE_SRCS += mq_waitirq.c mq_notify.c
|
||||
endif
|
||||
|
||||
# Include mq build support
|
||||
# Include mqueue build support
|
||||
|
||||
DEPPATH += --dep-path mqueue
|
||||
VPATH += :mqueue
|
||||
|
@ -52,7 +52,7 @@
|
||||
#include <nuttx/kmalloc.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
#include "mqueue/mqueue.h"
|
||||
|
||||
|
@ -53,7 +53,7 @@
|
||||
|
||||
#include "os_internal.h"
|
||||
#ifndef CONFIG_DISABLE_SIGNALS
|
||||
# include "sig_internal.h"
|
||||
# include "signal/signal.h"
|
||||
#endif
|
||||
#include "mqueue/mqueue.h"
|
||||
|
||||
|
@ -52,7 +52,7 @@
|
||||
#include <nuttx/init.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
#include "wd_internal.h"
|
||||
#include "sem_internal.h"
|
||||
#ifndef CONFIG_DISABLE_MQUEUE
|
||||
|
@ -53,7 +53,7 @@
|
||||
#include "os_internal.h"
|
||||
#include "pthread_internal.h"
|
||||
#include "clock_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Definitions
|
||||
|
@ -47,7 +47,7 @@
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "group_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Definitions
|
@ -44,7 +44,7 @@
|
||||
#include <nuttx/arch.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/************************************************************************
|
||||
* Definitions
|
@ -41,7 +41,7 @@
|
||||
#include <nuttx/arch.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/************************************************************************
|
||||
* Definitions
|
@ -49,7 +49,7 @@
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "sem_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Definitions
|
@ -51,7 +51,7 @@
|
||||
#include "os_internal.h"
|
||||
#include "group_internal.h"
|
||||
#include "sem_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
#include "mqueue/mqueue.h"
|
||||
|
||||
/****************************************************************************
|
@ -38,7 +38,7 @@
|
||||
************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/************************************************************************
|
||||
* Definitions
|
@ -44,7 +44,7 @@
|
||||
#include <nuttx/kmalloc.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/************************************************************************
|
||||
* Definitions
|
@ -45,7 +45,7 @@
|
||||
#include <debug.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/************************************************************************
|
||||
* Global Functions
|
@ -41,7 +41,7 @@
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/************************************************************************
|
||||
* Definitions
|
@ -46,7 +46,7 @@
|
||||
#include <debug.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Definitions
|
@ -43,7 +43,7 @@
|
||||
#include <sched.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Definitions
|
@ -50,7 +50,7 @@
|
||||
#include <nuttx/arch.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Definitions
|
@ -46,7 +46,7 @@
|
||||
#include <errno.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Definitions
|
@ -42,7 +42,7 @@
|
||||
#include <sched.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/************************************************************************
|
||||
* Definitions
|
@ -51,7 +51,7 @@
|
||||
#include <nuttx/arch.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/************************************************************************
|
||||
* Definitions
|
@ -51,7 +51,7 @@
|
||||
#include <nuttx/arch.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/************************************************************************
|
||||
* Definitions
|
@ -47,7 +47,7 @@
|
||||
#include <nuttx/arch.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Definitions
|
@ -53,7 +53,7 @@
|
||||
#include <nuttx/arch.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
#include "clock_internal.h"
|
||||
|
||||
/****************************************************************************
|
@ -42,7 +42,7 @@
|
||||
#include <sched.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/************************************************************************
|
||||
* Definitions
|
@ -1,7 +1,7 @@
|
||||
/****************************************************************************
|
||||
* sched/sig_internal.h
|
||||
* sched/signal/signal.h
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2013 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2007-2009, 2013-2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __SCHED_SIG_INTERNAL_H
|
||||
#define __SCHED_SIG_INTERNAL_H
|
||||
#ifndef __SCHED_SIGNAL_SIGNAL_H
|
||||
#define __SCHED_SIGNAL_SIGNAL_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@ -198,4 +198,4 @@ void sig_releasependingsignal(FAR sigpendq_t *sigpend);
|
||||
FAR sigpendq_t *sig_removependingsignal(FAR struct tcb_s *stcb, int signo);
|
||||
void sig_unmaskpendingsignal(void);
|
||||
|
||||
#endif /* __SCHED_SIG_INTERNAL_H */
|
||||
#endif /* __SCHED_SIGNAL_SIGNAL_H */
|
@ -42,7 +42,7 @@
|
||||
#include <sched.h>
|
||||
#include "os_internal.h"
|
||||
#ifndef CONFIG_DISABLE_SIGNALS
|
||||
# include "sig_internal.h"
|
||||
# include "signal/signal.h"
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -50,7 +50,7 @@
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "group_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -47,7 +47,7 @@
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "group_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Definitions
|
||||
|
@ -49,7 +49,7 @@
|
||||
|
||||
#include "os_internal.h"
|
||||
#ifndef CONFIG_DISABLE_SIGNALS
|
||||
# include "sig_internal.h"
|
||||
# include "signal/signal.h"
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -46,7 +46,7 @@
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "clock_internal.h"
|
||||
#include "sig_internal.h"
|
||||
#include "signal/signal.h"
|
||||
#include "timer_internal.h"
|
||||
|
||||
#ifndef CONFIG_DISABLE_POSIX_TIMERS
|
||||
|
Loading…
Reference in New Issue
Block a user