mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Squashed commit of the following:
libs/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
syscall/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
wireless/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
Documentation/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
include/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
drivers/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
sched/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
configs: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
arch/xtensa: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
arch/z80: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
arch/x86: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
arch/renesas and arch/risc-v: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
arch/or1k: Remove all references to CONFIG_DISABLE_SIGNALS. Signals are always enabled.
arch/misoc: Remove all references to CONFIG_DISABLE_SIGNALS. Signals are always enabled.
arch/mips: Remove all references to CONFIG_DISABLE_SIGNALS. Signals are always enabled.
arch/avr: Remove all references to CONFIG_DISABLE_SIGNALS. Signals are always enabled.
arch/arm: Remove all references to CONFIG_DISABLE_SIGNALS. Signals are always enabled.
This commit is contained in:
@@ -156,7 +156,7 @@ config TTY_SIGINT
|
||||
bool "Support SIGINT"
|
||||
default n
|
||||
select SIG_SIGKILL_ACTION
|
||||
depends on !DISABLE_SIGNALS && SERIAL_TERMIOS
|
||||
depends on SERIAL_TERMIOS
|
||||
---help---
|
||||
Whether support Ctrl-c/x event. Enabled automatically for console
|
||||
devices. May be enabled for other serial devices using the ISIG bit
|
||||
@@ -201,7 +201,7 @@ config TTY_SIGSTP
|
||||
bool "Support SIGSTP"
|
||||
default n
|
||||
select CONFIG_SIG_SIGSTOP_ACTION
|
||||
depends on !DISABLE_SIGNALS && SERIAL_TERMIOS
|
||||
depends on SERIAL_TERMIOS
|
||||
---help---
|
||||
Whether support Ctrl-z event. Enabled automatically for console
|
||||
devices. May be enabled for other serial devices using the ISIG bit
|
||||
|
||||
@@ -82,7 +82,6 @@
|
||||
|
||||
/* Timing */
|
||||
|
||||
#define POLL_DELAY_MSEC 1
|
||||
#define POLL_DELAY_USEC 1000
|
||||
|
||||
/************************************************************************************
|
||||
@@ -516,11 +515,7 @@ static int uart_tcdrain(FAR uart_dev_t *dev, clock_t timeout)
|
||||
{
|
||||
clock_t elapsed;
|
||||
|
||||
#ifndef CONFIG_DISABLE_SIGNALS
|
||||
nxsig_usleep(POLL_DELAY_USEC);
|
||||
#else
|
||||
up_mdelay(POLL_DELAY_MSEC);
|
||||
#endif
|
||||
|
||||
/* Check for a timeout */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user