summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/virtex4/startup/dummy_console.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/virtex4/startup/dummy_console.c')
-rw-r--r--c/src/lib/libbsp/powerpc/virtex4/startup/dummy_console.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/c/src/lib/libbsp/powerpc/virtex4/startup/dummy_console.c b/c/src/lib/libbsp/powerpc/virtex4/startup/dummy_console.c
index e62a9f01f0..6ff24b22bd 100644
--- a/c/src/lib/libbsp/powerpc/virtex4/startup/dummy_console.c
+++ b/c/src/lib/libbsp/powerpc/virtex4/startup/dummy_console.c
@@ -1,5 +1,7 @@
#include <rtems.h>
#include <rtems/libio.h>
+#include <rtems/bspIo.h>
+#include <rtems/console.h>
#include <string.h>
@@ -10,23 +12,6 @@ ssize_t __bsp_memory_write(int minor, const char* buf, size_t len);
rtems_device_driver console_initialize(rtems_device_major_number major,
rtems_device_minor_number minor,
void* arg);
-rtems_device_driver console_open(rtems_device_major_number major,
- rtems_device_minor_number minor,
- void* arg);
-rtems_device_driver console_close(rtems_device_major_number major,
- rtems_device_minor_number minor,
- void* arg);
-rtems_device_driver console_read(rtems_device_major_number major,
- rtems_device_minor_number minor,
- void* arg);
-rtems_device_driver console_write(rtems_device_major_number major,
- rtems_device_minor_number minor,
- void* arg);
-rtems_device_driver console_control(rtems_device_major_number major,
- rtems_device_minor_number minor,
- void* arg);
-
-void BSP_output_char(char ch);
ssize_t __bsp_memory_write(int minor, const char* buf, size_t len)
{