summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-04-22 23:24:09 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-04-22 23:24:09 +0000
commitad78965db218c6d479df82ef2480952a682a9912 (patch)
tree087ba7bea1117455aa5db204b625f730917890e0 /cpukit
parentautoconf-2.62. (diff)
downloadrtems-ad78965db218c6d479df82ef2480952a682a9912.tar.bz2
2008-04-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove rtems_termios_reserve_resources. It is obsolete. * libcsupport/src/termiosreserveresources.c: Removed.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/libcsupport/Makefile.am3
-rw-r--r--cpukit/libcsupport/include/rtems/libio.h7
-rw-r--r--cpukit/libcsupport/src/termiosreserveresources.c36
4 files changed, 8 insertions, 44 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 959c65df28..aa325f830e 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,9 @@
+2008-04-22 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove
+ rtems_termios_reserve_resources. It is obsolete.
+ * libcsupport/src/termiosreserveresources.c: Removed.
+
2008-04-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/mainpage.h: New file.
diff --git a/cpukit/libcsupport/Makefile.am b/cpukit/libcsupport/Makefile.am
index dae118e2cf..d03c0f68e5 100644
--- a/cpukit/libcsupport/Makefile.am
+++ b/cpukit/libcsupport/Makefile.am
@@ -52,8 +52,7 @@ BASE_FS_C_FILES = src/base_fs.c src/mount.c src/unmount.c src/libio.c \
TERMIOS_C_FILES = src/cfgetispeed.c src/cfgetospeed.c src/cfsetispeed.c \
src/cfsetospeed.c src/tcgetattr.c src/tcsetattr.c src/tcdrain.c \
src/tcflow.c src/tcflush.c src/tcgetprgrp.c src/tcsendbreak.c \
- src/tcsetpgrp.c src/termios.c src/termiosinitialize.c \
- src/termiosreserveresources.c
+ src/tcsetpgrp.c src/termios.c src/termiosinitialize.c
SYSTEM_CALL_C_FILES = src/open.c src/close.c src/read.c src/write.c \
src/write_r.c \
diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h
index cf0441cbac..2a3fcaed49 100644
--- a/cpukit/libcsupport/include/rtems/libio.h
+++ b/cpukit/libcsupport/include/rtems/libio.h
@@ -10,7 +10,7 @@
* IO to devices but has since been enhanced to support networking
* and support for mounted file systems.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -607,11 +607,6 @@ int rtems_termios_dequeue_characters(
int len
);
-void rtems_termios_reserve_resources(
- rtems_configuration_table *configuration,
- uint32_t number_of_devices
-);
-
int unmount(
const char *mount_path
);
diff --git a/cpukit/libcsupport/src/termiosreserveresources.c b/cpukit/libcsupport/src/termiosreserveresources.c
deleted file mode 100644
index 6637cfd2d9..0000000000
--- a/cpukit/libcsupport/src/termiosreserveresources.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Reserve enough resources to open every physical device once.
- *
- * $Id$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems.h>
-
-#if 0
-static int first_time; /* assumed to be zeroed by BSS initialization */
-#endif
-
-void rtems_termios_reserve_resources (
- rtems_configuration_table *configuration,
- uint32_t number_of_devices
-)
-{
-#if 0
- rtems_api_configuration_table *rtems_config;
-
-
- if (!configuration)
- rtems_fatal_error_occurred (0xFFF0F001);
- rtems_config = configuration->RTEMS_api_configuration;
- if (!rtems_config)
- rtems_fatal_error_occurred (0xFFF0F002);
- if (!first_time)
- rtems_config->maximum_semaphores += 1;
- first_time = 1;
- rtems_config->maximum_semaphores += (4 * number_of_devices);
-#endif
-}