summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/unix/posix/startup/bsppost.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/unix/posix/startup/bsppost.c')
-rw-r--r--c/src/lib/libbsp/unix/posix/startup/bsppost.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/unix/posix/startup/bsppost.c b/c/src/lib/libbsp/unix/posix/startup/bsppost.c
new file mode 100644
index 0000000000..23a07003d0
--- /dev/null
+++ b/c/src/lib/libbsp/unix/posix/startup/bsppost.c
@@ -0,0 +1,22 @@
+/*
+ * This is a shared BSP post driver hook designed to open
+ * /dev/console for stdin, stdout, and stderr if it exists.
+ * Newlib will automatically associate the file descriptors
+ * with the first thress files opened.
+ *
+ * COPYRIGHT (c) 1989-2008.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#include <rtems.h>
+#include <bsp/bootcard.h>
+
+void bsp_postdriver_hook(void)
+{
+}