summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/erc32/console/consolereserveresources.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-27 16:08:40 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-27 16:08:40 +0000
commit1d1b1507a6cc49166ab60b2e0963aa5f077bb1b0 (patch)
tree5e9d810e75cf6b30515efd848de3b2029c5da341 /c/src/lib/libbsp/sparc/erc32/console/consolereserveresources.c
parentDisabled running size_rtems until all file splitting is finished. (diff)
downloadrtems-1d1b1507a6cc49166ab60b2e0963aa5f077bb1b0.tar.bz2
Split out polled io, debug puts, and console reserve resources to
reduce dependencies and shrink minimum executable size.
Diffstat (limited to 'c/src/lib/libbsp/sparc/erc32/console/consolereserveresources.c')
-rw-r--r--c/src/lib/libbsp/sparc/erc32/console/consolereserveresources.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/console/consolereserveresources.c b/c/src/lib/libbsp/sparc/erc32/console/consolereserveresources.c
new file mode 100644
index 0000000000..6452142c07
--- /dev/null
+++ b/c/src/lib/libbsp/sparc/erc32/console/consolereserveresources.c
@@ -0,0 +1,27 @@
+/*
+ * This file contains the TTY driver for the serial ports on the erc32.
+ *
+ * This driver uses the termios pseudo driver.
+ *
+ * COPYRIGHT (c) 1989-1998.
+ * On-Line Applications Research Corporation (OAR).
+ * Copyright assigned to U.S. Government, 1994.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#include <bsp.h>
+#include <rtems/libio.h>
+#include <stdlib.h>
+#include <assert.h>
+
+void console_reserve_resources(
+ rtems_configuration_table *configuration
+)
+{
+ rtems_termios_reserve_resources( configuration, 2 );
+}