[PATCH 5/5] Eliminate configuring init mask modes since setting to default value

Joel Sherrill joel at rtems.org
Fri May 21 19:16:02 UTC 2021


---
 dnstest/init.c       | 4 ----
 http/init.c          | 4 ----
 mcast/init.c         | 4 ----
 netdemo/init.c       | 4 ----
 nfsClientTest/init.c | 4 ----
 ntp/init.c           | 4 ----
 select/init.c        | 4 ----
 telnetd/init.c       | 4 ----
 tftpTest/init.c      | 4 ----
 ttcp/init.c          | 4 ----
 10 files changed, 40 deletions(-)

diff --git a/dnstest/init.c b/dnstest/init.c
index a7cd077..7f05ff4 100644
--- a/dnstest/init.c
+++ b/dnstest/init.c
@@ -46,10 +46,6 @@ Init (rtems_task_argument ignored)
 
 #define CONFIGURE_INIT_TASK_STACK_SIZE	(16*1024)
 #define CONFIGURE_INIT_TASK_PRIORITY	100
-#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
-                                           RTEMS_NO_TIMESLICE | \
-                                           RTEMS_NO_ASR | \
-                                           RTEMS_INTERRUPT_LEVEL(0))
 
 #define CONFIGURE_INIT
 rtems_task Init (rtems_task_argument argument);
diff --git a/http/init.c b/http/init.c
index dab82db..4b021a1 100644
--- a/http/init.c
+++ b/http/init.c
@@ -188,10 +188,6 @@ rtems_task Init(
 
 #define CONFIGURE_INIT_TASK_STACK_SIZE	(16*1024)
 #define CONFIGURE_INIT_TASK_PRIORITY	120
-#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
-                                           RTEMS_NO_TIMESLICE | \
-                                           RTEMS_NO_ASR | \
-                                           RTEMS_INTERRUPT_LEVEL(0))
 
 #define CONFIGURE_STACK_CHECKER_ENABLED
 #define CONFIGURE_INIT
diff --git a/mcast/init.c b/mcast/init.c
index 163fae9..c05f0a5 100644
--- a/mcast/init.c
+++ b/mcast/init.c
@@ -79,10 +79,6 @@ Init (rtems_task_argument ignored)
 
 #define CONFIGURE_INIT_TASK_STACK_SIZE (16*1024)
 #define CONFIGURE_INIT_TASK_PRIORITY   120
-#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
-                                           RTEMS_NO_TIMESLICE | \
-                                           RTEMS_NO_ASR | \
-                                           RTEMS_INTERRUPT_LEVEL(0))
 
 #define CONFIGURE_INIT
 rtems_task Init (rtems_task_argument argument);
diff --git a/netdemo/init.c b/netdemo/init.c
index b7d14a4..e66ec36 100644
--- a/netdemo/init.c
+++ b/netdemo/init.c
@@ -51,10 +51,6 @@ Init (rtems_task_argument ignored)
 
 #define CONFIGURE_INIT_TASK_STACK_SIZE (16*1024)
 #define CONFIGURE_INIT_TASK_PRIORITY   120
-#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
-                                           RTEMS_NO_TIMESLICE | \
-                                           RTEMS_NO_ASR | \
-                                           RTEMS_INTERRUPT_LEVEL(0))
 
 #define CONFIGURE_INIT
 rtems_task Init (rtems_task_argument argument);
diff --git a/nfsClientTest/init.c b/nfsClientTest/init.c
index 95b709f..7906286 100644
--- a/nfsClientTest/init.c
+++ b/nfsClientTest/init.c
@@ -116,10 +116,6 @@ rtems_task Init(
 #define CONFIGURE_INIT_TASK_STACK_SIZE	(64*1024)
 #define CONFIGURE_INIT_TASK_PRIORITY	120
 #define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_FLOATING_POINT
-#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
-                                           RTEMS_NO_TIMESLICE | \
-                                           RTEMS_NO_ASR | \
-                                           RTEMS_INTERRUPT_LEVEL(0))
 
 #define CONFIGURE_MAXIMUM_DRIVERS 10
 #define CONFIGURE_INIT
diff --git a/ntp/init.c b/ntp/init.c
index d29dda4..edda6f9 100644
--- a/ntp/init.c
+++ b/ntp/init.c
@@ -70,10 +70,6 @@ Init (rtems_task_argument ignored)
 
 #define CONFIGURE_INIT_TASK_STACK_SIZE	(16*1024)
 #define CONFIGURE_INIT_TASK_PRIORITY	120
-#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
-                                           RTEMS_NO_TIMESLICE | \
-                                           RTEMS_NO_ASR | \
-                                           RTEMS_INTERRUPT_LEVEL(0))
 
 #define CONFIGURE_INIT
 rtems_task Init (rtems_task_argument argument);
diff --git a/select/init.c b/select/init.c
index fef49a0..d1b7743 100644
--- a/select/init.c
+++ b/select/init.c
@@ -46,10 +46,6 @@ Init (rtems_task_argument ignored)
 
 #define CONFIGURE_INIT_TASK_STACK_SIZE	(16*1024)
 #define CONFIGURE_INIT_TASK_PRIORITY	120
-#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
-                                           RTEMS_NO_TIMESLICE | \
-                                           RTEMS_NO_ASR | \
-                                           RTEMS_INTERRUPT_LEVEL(0))
 
 #define CONFIGURE_INIT
 rtems_task Init (rtems_task_argument argument);
diff --git a/telnetd/init.c b/telnetd/init.c
index b12bb71..3afbd83 100644
--- a/telnetd/init.c
+++ b/telnetd/init.c
@@ -219,10 +219,6 @@ rtems_task Init(
 #define CONFIGURE_INIT_TASK_STACK_SIZE	(64*1024)
 #define CONFIGURE_INIT_TASK_PRIORITY	120
 #define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_FLOATING_POINT
-#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
-                                           RTEMS_NO_TIMESLICE | \
-                                           RTEMS_NO_ASR | \
-                                           RTEMS_INTERRUPT_LEVEL(0))
 
 #define CONFIGURE_MAXIMUM_DRIVERS 10
 #define CONFIGURE_INIT
diff --git a/tftpTest/init.c b/tftpTest/init.c
index db37278..92d9837 100644
--- a/tftpTest/init.c
+++ b/tftpTest/init.c
@@ -64,10 +64,6 @@ Init (rtems_task_argument ignored)
 
 #define CONFIGURE_INIT_TASK_STACK_SIZE	(16*1024)
 #define CONFIGURE_INIT_TASK_PRIORITY	100
-#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
-                                           RTEMS_NO_TIMESLICE | \
-                                           RTEMS_NO_ASR | \
-                                           RTEMS_INTERRUPT_LEVEL(0))
 
 #define CONFIGURE_INIT
 rtems_task Init (rtems_task_argument argument);
diff --git a/ttcp/init.c b/ttcp/init.c
index c3d2372..a44c65a 100644
--- a/ttcp/init.c
+++ b/ttcp/init.c
@@ -48,10 +48,6 @@ Init (rtems_task_argument ignored)
 
 #define CONFIGURE_INIT_TASK_STACK_SIZE	(16*1024)
 #define CONFIGURE_INIT_TASK_PRIORITY	100
-#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
-                                           RTEMS_NO_TIMESLICE | \
-                                           RTEMS_NO_ASR | \
-                                           RTEMS_INTERRUPT_LEVEL(0))
 
 #define CONFIGURE_INIT
 rtems_task Init (rtems_task_argument argument);
-- 
1.8.3.1



More information about the devel mailing list