summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/score603e/console/consolereserveresources.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-02 16:05:41 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-02 16:05:41 +0000
commitc42bd4525f4a74fa1c88332b33d18681f881c2c0 (patch)
tree9b1c992bff5d735f1443fe1c14bf093c35ae79de /c/src/lib/libbsp/powerpc/score603e/console/consolereserveresources.c
parentFixed bug which resulted in misaligned object control structures (diff)
downloadrtems-c42bd4525f4a74fa1c88332b33d18681f881c2c0.tar.bz2
Split console_reserve_resources into its own file to reduce dependencies.
Still need to move debug io routines out.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/score603e/console/consolereserveresources.c')
-rw-r--r--c/src/lib/libbsp/powerpc/score603e/console/consolereserveresources.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/score603e/console/consolereserveresources.c b/c/src/lib/libbsp/powerpc/score603e/console/consolereserveresources.c
new file mode 100644
index 0000000000..440e44f941
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/score603e/console/consolereserveresources.c
@@ -0,0 +1,29 @@
+/*
+ * This file contains the routine console_reserve_resources
+ * for the Score603e console driver.
+ *
+ * COPYRIGHT (c) 1989-1997.
+ * 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>
+
+#include "consolebsp.h"
+
+void console_reserve_resources(
+ rtems_configuration_table *configuration
+)
+{
+ rtems_termios_reserve_resources( configuration, NUM_Z85C30_PORTS );
+}
+