summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/hppa1.1
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/hppa1.1')
-rw-r--r--c/src/lib/libbsp/hppa1.1/simhppa/include/bsp.h20
-rw-r--r--c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c2
2 files changed, 9 insertions, 13 deletions
diff --git a/c/src/lib/libbsp/hppa1.1/simhppa/include/bsp.h b/c/src/lib/libbsp/hppa1.1/simhppa/include/bsp.h
index 723a66a1e9..8bf036b22e 100644
--- a/c/src/lib/libbsp/hppa1.1/simhppa/include/bsp.h
+++ b/c/src/lib/libbsp/hppa1.1/simhppa/include/bsp.h
@@ -67,18 +67,6 @@ extern void Clock_delay(rtems_unsigned32 microseconds);
Clock_delay(microseconds);
/*
- * Todo: this should be put somewhere else
- */
-
-#undef CLOCK_DRIVER_TABLE_ENTRY
-#define CLOCK_DRIVER_TABLE_ENTRY { Clock_initialize, NULL, NULL, NULL, NULL, Clock_control }
-rtems_device_driver Clock_control(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void *pargp
-);
-
-/*
* We printf() to a buffer if multiprocessing, *or* if this is set.
* ref: src/lib/libbsp/hppa/simhppa/iosupp/consupp.c
*/
@@ -86,6 +74,10 @@ rtems_device_driver Clock_control(
extern int use_print_buffer;
/*
+ * Device Driver Table Entries
+ */
+
+/*
* When not doing printf to a buffer, we do printf thru RTEMS libio
* and our tty driver. Set it up so that console is right.
*/
@@ -94,6 +86,10 @@ extern int use_print_buffer;
{ tty_initialize, tty_open, tty_close, tty_read, tty_write, tty_control }
/*
+ * NOTE: Use the standard Clock driver entry
+ */
+
+/*
* How many libio files we want
*/
#define BSP_LIBIO_MAX_FDS 20
diff --git a/c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c b/c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c
index 7e9b70f82e..2620d41df4 100644
--- a/c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c
+++ b/c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c
@@ -131,7 +131,7 @@ bsp_libc_init(void)
RTEMS_Malloc_Initialize((void *) heap_start, 64 * 1024, 0);
/*
- * Init the RTEMS libio facility to provide UNIX-like system
+ * Init the RTEMS libio facility to provide UNIX-like system
* calls for use by newlib (ie: provide __open, __close, etc)
* Uses malloc() to get area for the iops, so must be after malloc init
*/