[rtems-examples commit] Replace deprecated CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS with CONFIGURE_MAXIMUM_FILE_DESCRIPTORS
Sebastian Huber
sebh at rtems.org
Tue Mar 17 13:16:37 UTC 2020
Module: rtems-examples
Branch: master
Commit: e4e4cdc527b9dc24776f60c95633cca2bbe01d03
Changeset: http://git.rtems.org/rtems-examples/commit/?id=e4e4cdc527b9dc24776f60c95633cca2bbe01d03
Author: Vijay Kumar Banerjee <vijaykumar9597 at gmail.com>
Date: Tue Mar 17 15:41:51 2020 +0530
Replace deprecated CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS with CONFIGURE_MAXIMUM_FILE_DESCRIPTORS
---
benchmarks/nbench/main.c | 2 +-
c11/c11_cndvar01/rtems_config.c | 2 +-
c11/c11_key01/rtems_config.c | 2 +-
c11/c11_mutex01/rtems_config.c | 2 +-
c11/c11_thread01/rtems_config.c | 2 +-
file_io/crc/init.c | 2 +-
file_io/fdopen/README | 2 +-
file_io/fdopen/test.c | 2 +-
file_io/filerdback/test.c | 2 +-
file_io/repeated_opens/test.c | 2 +-
filesystem/fat_ramdisk/init.c | 2 +-
led/complex1/main.cc | 2 +-
lvgl/hello/test.c | 2 +-
micromonitor/umon/test.c | 2 +-
misc/adamain/rtems_init.c | 2 +-
misc/minimum/test.c | 2 +-
misc/qemu_vfat/system.h | 2 +-
ticker/low_ticker/init.c | 2 +-
ticker/low_ticker1/init.c | 2 +-
ticker/low_ticker2/init.c | 2 +-
20 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/benchmarks/nbench/main.c b/benchmarks/nbench/main.c
index f330255..68f799e 100644
--- a/benchmarks/nbench/main.c
+++ b/benchmarks/nbench/main.c
@@ -20,7 +20,7 @@
#define CONFIGURE_MICROSECONDS_PER_TICK 1000
#define CONFIGURE_TICKS_PER_TIMESLICE 5
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 50
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 50
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
#define CONFIGURE_SWAPOUT_TASK_PRIORITY 220
diff --git a/c11/c11_cndvar01/rtems_config.c b/c11/c11_cndvar01/rtems_config.c
index a596695..218bfe9 100644
--- a/c11/c11_cndvar01/rtems_config.c
+++ b/c11/c11_cndvar01/rtems_config.c
@@ -45,7 +45,7 @@ static void *POSIX_Init(void *arg)
#define CONFIGURE_UNLIMITED_OBJECTS
#define CONFIGURE_UNIFIED_WORK_AREAS
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 32
#define CONFIGURE_MINIMUM_TASK_STACK_SIZE (64 * 1024)
diff --git a/c11/c11_key01/rtems_config.c b/c11/c11_key01/rtems_config.c
index b8fd346..b33ebbc 100644
--- a/c11/c11_key01/rtems_config.c
+++ b/c11/c11_key01/rtems_config.c
@@ -45,7 +45,7 @@ static void *POSIX_Init(void *arg)
#define CONFIGURE_UNLIMITED_OBJECTS
#define CONFIGURE_UNIFIED_WORK_AREAS
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 32
#define CONFIGURE_MINIMUM_TASK_STACK_SIZE (64 * 1024)
diff --git a/c11/c11_mutex01/rtems_config.c b/c11/c11_mutex01/rtems_config.c
index b72f679..3d9f8d3 100644
--- a/c11/c11_mutex01/rtems_config.c
+++ b/c11/c11_mutex01/rtems_config.c
@@ -45,7 +45,7 @@ static void *POSIX_Init(void *arg)
#define CONFIGURE_UNLIMITED_OBJECTS
#define CONFIGURE_UNIFIED_WORK_AREAS
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 32
#define CONFIGURE_MINIMUM_TASK_STACK_SIZE (64 * 1024)
diff --git a/c11/c11_thread01/rtems_config.c b/c11/c11_thread01/rtems_config.c
index 43c8e07..4bfded6 100644
--- a/c11/c11_thread01/rtems_config.c
+++ b/c11/c11_thread01/rtems_config.c
@@ -45,7 +45,7 @@ static void *POSIX_Init(void *arg)
#define CONFIGURE_UNLIMITED_OBJECTS
#define CONFIGURE_UNIFIED_WORK_AREAS
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 32
#define CONFIGURE_MINIMUM_TASK_STACK_SIZE (64 * 1024)
diff --git a/file_io/crc/init.c b/file_io/crc/init.c
index 4888e70..f05ab24 100644
--- a/file_io/crc/init.c
+++ b/file_io/crc/init.c
@@ -54,7 +54,7 @@ rtems_task Init(
/* filesystem */
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 40
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 40
#define CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK 512
/* tasks */
diff --git a/file_io/fdopen/README b/file_io/fdopen/README
index dee115d..6584480 100644
--- a/file_io/fdopen/README
+++ b/file_io/fdopen/README
@@ -57,7 +57,7 @@ into 0302), I would appreciate it.
#define CONFIGURE_MAXIMUM_TASKS 20
#define CONFIGURE_MAXIMUM_TIMERS 20
#define CONFIGURE_MAXIMUM_PERIODS 1
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 10
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 10
#define CONFIGURE_INIT_TASK_STACK_SIZE (32*1024)
#define CONFIGURE_INIT_TASK_PRIORITY 90
#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
diff --git a/file_io/fdopen/test.c b/file_io/fdopen/test.c
index 5ab50a5..388624f 100644
--- a/file_io/fdopen/test.c
+++ b/file_io/fdopen/test.c
@@ -74,7 +74,7 @@ rtems_task Init(
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 6
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 6
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_MAXIMUM_TASKS 1
diff --git a/file_io/filerdback/test.c b/file_io/filerdback/test.c
index ef0a4cc..96d983f 100644
--- a/file_io/filerdback/test.c
+++ b/file_io/filerdback/test.c
@@ -56,7 +56,7 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TASKS 1
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 4
#define CONFIGURE_INIT
diff --git a/file_io/repeated_opens/test.c b/file_io/repeated_opens/test.c
index 5106621..aeb8fad 100644
--- a/file_io/repeated_opens/test.c
+++ b/file_io/repeated_opens/test.c
@@ -51,7 +51,7 @@ rtems_task Init(rtems_task_argument a)
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
#define CONFIGURE_MAXIMUM_TASKS 1
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 4
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT
diff --git a/filesystem/fat_ramdisk/init.c b/filesystem/fat_ramdisk/init.c
index 57e0f26..7579c67 100644
--- a/filesystem/fat_ramdisk/init.c
+++ b/filesystem/fat_ramdisk/init.c
@@ -105,7 +105,7 @@ rtems_task Init(
/* filesystem */
#define CONFIGURE_FILESYSTEM_DOSFS
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 40
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 40
#define CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK 512
#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
diff --git a/led/complex1/main.cc b/led/complex1/main.cc
index e60e4eb..c29d893 100644
--- a/led/complex1/main.cc
+++ b/led/complex1/main.cc
@@ -52,7 +52,7 @@ int main(
#define CONFIGURE_EXTRA_TASK_STACKS (32 * 1024)
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
- #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
+ #define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 20
#define CONFIGURE_STACK_CHECKER_ENABLED
#endif
diff --git a/lvgl/hello/test.c b/lvgl/hello/test.c
index c85bb35..d6948b3 100644
--- a/lvgl/hello/test.c
+++ b/lvgl/hello/test.c
@@ -114,7 +114,7 @@ Init(rtems_task_argument arg)
#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
#define CONFIGURE_FILESYSTEM_DOSFS
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 32
#define CONFIGURE_UNLIMITED_OBJECTS
#define CONFIGURE_UNIFIED_WORK_AREAS
diff --git a/micromonitor/umon/test.c b/micromonitor/umon/test.c
index d1ba045..48a2d05 100644
--- a/micromonitor/umon/test.c
+++ b/micromonitor/umon/test.c
@@ -147,7 +147,7 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TASKS 1
#define CONFIGURE_MAXIMUM_SEMAPHORES 5
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 4
#define CONFIGURE_MICROSECONDS_PER_TICK 5000
#define CONFIGURE_INIT_TASK_STACK_SIZE \
(CONFIGURE_MINIMUM_TASK_STACK_SIZE * 10)
diff --git a/misc/adamain/rtems_init.c b/misc/adamain/rtems_init.c
index 7ffe112..eebf352 100644
--- a/misc/adamain/rtems_init.c
+++ b/misc/adamain/rtems_init.c
@@ -241,7 +241,7 @@ void *POSIX_Init( void *argument )
#if 1
/* We need to be able to create sockets */
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 20
/* We need the full IMFS to pass the full ACATS */
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
diff --git a/misc/minimum/test.c b/misc/minimum/test.c
index 1605a17..49176f6 100644
--- a/misc/minimum/test.c
+++ b/misc/minimum/test.c
@@ -45,7 +45,7 @@ void *Init(
/*
* This test does not use any stdio.
*/
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 0
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 0
/*
* This may prevent us from running on every architecture but it
diff --git a/misc/qemu_vfat/system.h b/misc/qemu_vfat/system.h
index f6663d8..62e66f8 100644
--- a/misc/qemu_vfat/system.h
+++ b/misc/qemu_vfat/system.h
@@ -52,7 +52,7 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TASKS 20
#define CONFIGURE_MAXIMUM_SEMAPHORES 20
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 20
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 20
#define CONFIGURE_STACK_CHECKER_ENABLED
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
diff --git a/ticker/low_ticker/init.c b/ticker/low_ticker/init.c
index f25e7dd..ef83e0a 100644
--- a/ticker/low_ticker/init.c
+++ b/ticker/low_ticker/init.c
@@ -75,7 +75,7 @@ static void *Init(
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
#define CONFIGURE_DISABLE_NEWLIB_REENTRANCY
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 0
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 0
#define CONFIGURE_MINIMUM_TASK_STACK_SIZE 512
#define CONFIGURE_MAXIMUM_PRIORITY 15
#define CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS
diff --git a/ticker/low_ticker1/init.c b/ticker/low_ticker1/init.c
index 90a29d8..4682f8e 100644
--- a/ticker/low_ticker1/init.c
+++ b/ticker/low_ticker1/init.c
@@ -70,7 +70,7 @@ static void *Init(
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
#define CONFIGURE_DISABLE_NEWLIB_REENTRANCY
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 0
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 0
/*
* Reduce the stack as far as we think is safe on this architecture.
diff --git a/ticker/low_ticker2/init.c b/ticker/low_ticker2/init.c
index 024a52d..a687be9 100644
--- a/ticker/low_ticker2/init.c
+++ b/ticker/low_ticker2/init.c
@@ -64,7 +64,7 @@ void *Init(
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
#define CONFIGURE_DISABLE_NEWLIB_REENTRANCY
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 0
+#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 0
#define CONFIGURE_MINIMUM_TASK_STACK_SIZE 512
#define CONFIGURE_MAXIMUM_PRIORITY 15
#define CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS
More information about the vc
mailing list