Skip to content

Commit abf6965

Browse files
committed
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.
1 parent 42e5346 commit abf6965

File tree

251 files changed

+182
-1003
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

251 files changed

+182
-1003
lines changed

Documentation/NXGraphicsSubsystem.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,11 +1355,7 @@ <h3>2.3.9 <a name="nxeventnotify"><code>nx_eventnotify()</code></a></h3>
13551355
#include &lt;nuttx/nx/nxglib.h&gt;
13561356
#include &lt;nuttx/nx/nx.h&gt;
13571357

1358-
#ifndef CONFIG_DISABLE_SIGNALS
13591358
int nx_eventnotify(NXHANDLE handle, int signo);
1360-
#else
1361-
# define nx_eventnotify(handle, signo) (OK)
1362-
#endif
13631359
</pre></ul>
13641360
<p>
13651361
<b>Description:</b>

Documentation/NuttShell.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3731,7 +3731,7 @@ <h1>Table of Contents</h1>
37313731
</tr>
37323732
<tr>
37333733
<td><b><code>kill</code></b></td>
3734-
<td>!<code>CONFIG_DISABLE_SIGNALS</code></td>
3734+
<td>&nbsp;</td>
37353735
<td><code>CONFIG_NSH_DISABLE_KILL</code></td>
37363736
</tr>
37373737
<tr>
@@ -3881,7 +3881,7 @@ <h1>Table of Contents</h1>
38813881
</tr>
38823882
<tr>
38833883
<td><b><code>sleep</code></b></td>
3884-
<td>!<code>CONFIG_DISABLE_SIGNALS</code></td>
3884+
<td>&nbsp;</td>
38853885
<td><code>CONFIG_NSH_DISABLE_SLEEP</code></td>
38863886
</tr>
38873887
<tr>
@@ -3941,7 +3941,7 @@ <h1>Table of Contents</h1>
39413941
</tr>
39423942
<tr>
39433943
<td><b><code>usleep</code></b></td>
3944-
<td>!<code>CONFIG_DISABLE_SIGNALS</code></td>
3944+
<td>&nbsp;</td>
39453945
<td><code>CONFIG_NSH_DISABLE_USLEEP</code></td>
39463946
</tr>
39473947
<tr>
@@ -3996,12 +3996,12 @@ <h1>Table of Contents</h1>
39963996
<tr>
39973997
<td><b><code>ping</code></b></td>
39983998
<td><code>CONFIG_NET</code> &amp;&amp; <code>CONFIG_NET_ICMP</code> &amp;&amp;
3999-
<code>CONFIG_NET_ICMP_SOCKET</code> &amp;&amp; <code>CONFIG_SYSTEM_PING</code> &amp;&amp; !<code>CONFIG_DISABLE_SIGNALS</code> &amp;&amp; !<code>CONFIG_DISABLE_POLL</code></td>
3999+
<code>CONFIG_NET_ICMP_SOCKET</code> &amp;&amp; <code>CONFIG_SYSTEM_PING</code> &amp;&amp !<code>CONFIG_DISABLE_POLL</code></td>
40004000
</tr>
40014001
<tr>
40024002
<td><b><code>ping6</code></b></td>
40034003
<td><code>CONFIG_NET</code> &amp;&amp; <code>CONFIG_NET_ICMPv6</code> &amp;&amp;
4004-
<code>CONFIG_NET_ICMPv6_SOCKET</code> &amp;&amp; <code>CONFIG_SYSTEM_PING6</code> &amp;&amp; !<code>CONFIG_DISABLE_SIGNALS</code> &amp;&amp; !<code>CONFIG_DISABLE_POLL</code></td>
4004+
<code>CONFIG_NET_ICMPv6_SOCKET</code> &amp;&amp; <code>CONFIG_SYSTEM_PING6</code> &amp;&amp; !<code>CONFIG_DISABLE_POLL</code></td>
40054005
</tr>
40064006
</table></center>
40074007

Documentation/NuttxPortingGuide.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2176,10 +2176,6 @@ <h3><a name="upschedulesigaction">4.2.14 <code>up_schedule_sigaction()</code></a
21762176
handler now.
21772177
</li>
21782178
</ol>
2179-
<p>
2180-
This API is <i>NOT</i> required if <code>CONFIG_DISABLE_SIGNALS</code>
2181-
is defined.
2182-
</p>
21832179

21842180
<h3><a name="upallocateheap">4.2.15 <code>up_allocate_heap()</code></a></h3>
21852181
<p><b>Function Prototype</b>: <code>void up_allocate_heap(FAR void **heap_start, size_t *heap_size);</code></p>

Documentation/NuttxUserGuide.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,9 +1476,8 @@ <h3><a name="posix_spawnattr_getsigmask">2.1.24 posix_spawnattr_getsigmask</a></
14761476
</p>
14771477
<ul><pre>
14781478
#include &lt;spawn.h&gt;
1479-
#ifndef CONFIG_DISABLE_SIGNALS
1479+
14801480
int posix_spawnattr_getsigmask(FAR const posix_spawnattr_t *attr, FAR sigset_t *sigmask);
1481-
#endif
14821481
</pre></ul>
14831482
<p>
14841483
<b>Description:</b>
@@ -1598,9 +1597,8 @@ <h3><a name="posix_spawnattr_setsigmask">2.1.28 posix_spawnattr_setsigmask</a></
15981597
</p>
15991598
<ul><pre>
16001599
#include &lt;spawn.h&gt;
1601-
#ifndef CONFIG_DISABLE_SIGNALS
1600+
16021601
int posix_spawnattr_setsigmask(FAR posix_spawnattr_t *attr, FAR const sigset_t *sigmask);
1603-
#endif
16041602
</pre></ul>
16051603
<p>
16061604
<b>Description:</b>

arch/arm/include/arm/irq.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@
138138
#ifndef __ASSEMBLY__
139139
struct xcptcontext
140140
{
141-
#ifndef CONFIG_DISABLE_SIGNALS
142141
/* The following function pointer is non-zero if there
143142
* are pending signals to be processed.
144143
*/
@@ -156,7 +155,6 @@ struct xcptcontext
156155

157156
uint32_t saved_pc;
158157
uint32_t saved_cpsr;
159-
#endif
160158

161159
/* Register save area */
162160

arch/arm/include/armv6-m/irq.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ struct xcpt_syscall_s
164164

165165
struct xcptcontext
166166
{
167-
#ifndef CONFIG_DISABLE_SIGNALS
168167
/* The following function pointer is non-zero if there
169168
* are pending signals to be processed.
170169
*/
@@ -191,8 +190,6 @@ struct xcptcontext
191190
*/
192191

193192
uint32_t sigreturn;
194-
195-
# endif
196193
#endif
197194

198195
#ifdef CONFIG_LIB_SYSCALL

arch/arm/include/armv7-a/irq.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ struct xcpt_syscall_s
229229
#ifndef __ASSEMBLY__
230230
struct xcptcontext
231231
{
232-
#ifndef CONFIG_DISABLE_SIGNALS
233232
/* The following function pointer is non-zero if there are pending signals
234233
* to be processed.
235234
*/
@@ -247,14 +246,13 @@ struct xcptcontext
247246
uint32_t saved_pc;
248247
uint32_t saved_cpsr;
249248

250-
# ifdef CONFIG_BUILD_KERNEL
249+
#ifdef CONFIG_BUILD_KERNEL
251250
/* This is the saved address to use when returning from a user-space
252251
* signal handler.
253252
*/
254253

255254
uint32_t sigreturn;
256255

257-
# endif
258256
#endif
259257

260258
/* Register save area */
@@ -302,11 +300,9 @@ struct xcptcontext
302300

303301
FAR uint32_t *ustkptr; /* Saved user stack pointer */
304302
FAR uint32_t *kstack; /* Allocate base of the (aligned) kernel stack */
305-
#ifndef CONFIG_DISABLE_SIGNALS
306303
FAR uint32_t *kstkptr; /* Saved kernel stack pointer */
307304
#endif
308305
#endif
309-
#endif
310306
};
311307
#endif
312308

arch/arm/include/armv7-m/irq.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ struct xcpt_syscall_s
119119

120120
struct xcptcontext
121121
{
122-
#ifndef CONFIG_DISABLE_SIGNALS
123122
/* The following function pointer is non-zero if there
124123
* are pending signals to be processed.
125124
*/
@@ -151,7 +150,6 @@ struct xcptcontext
151150

152151
uint32_t sigreturn;
153152

154-
# endif
155153
#endif
156154

157155
#ifdef CONFIG_LIB_SYSCALL

arch/arm/include/armv7-r/irq.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ struct xcpt_syscall_s
229229
#ifndef __ASSEMBLY__
230230
struct xcptcontext
231231
{
232-
#ifndef CONFIG_DISABLE_SIGNALS
233232
/* The following function pointer is non-zero if there are pending signals
234233
* to be processed.
235234
*/
@@ -247,14 +246,12 @@ struct xcptcontext
247246
uint32_t saved_pc;
248247
uint32_t saved_cpsr;
249248

250-
# ifdef CONFIG_BUILD_KERNEL
249+
#ifdef CONFIG_BUILD_KERNEL
251250
/* This is the saved address to use when returning from a user-space
252251
* signal handler.
253252
*/
254253

255254
uint32_t sigreturn;
256-
257-
# endif
258255
#endif
259256

260257
/* Register save area */
@@ -302,11 +299,9 @@ struct xcptcontext
302299

303300
FAR uint32_t *ustkptr; /* Saved user stack pointer */
304301
FAR uint32_t *kstack; /* Allocate base of the (aligned) kernel stack */
305-
#ifndef CONFIG_DISABLE_SIGNALS
306302
FAR uint32_t *kstkptr; /* Saved kernel stack pointer */
307303
#endif
308304
#endif
309-
#endif
310305
};
311306
#endif
312307

arch/arm/src/arm/up_schedulesigaction.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@
5151
#include "up_internal.h"
5252
#include "up_arch.h"
5353

54-
#ifndef CONFIG_DISABLE_SIGNALS
55-
5654
/****************************************************************************
5755
* Public Functions
5856
****************************************************************************/
@@ -189,5 +187,3 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver)
189187

190188
leave_critical_section(flags);
191189
}
192-
193-
#endif /* !CONFIG_DISABLE_SIGNALS */

0 commit comments

Comments
 (0)