summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386/clock
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/clock')
-rw-r--r--c/src/lib/libbsp/i386/pc386/clock/ckinit.c6
-rw-r--r--c/src/lib/libbsp/i386/pc386/clock/rtc.c5
2 files changed, 0 insertions, 11 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/clock/ckinit.c b/c/src/lib/libbsp/i386/pc386/clock/ckinit.c
index a1b1899dc9..a4ed222b91 100644
--- a/c/src/lib/libbsp/i386/pc386/clock/ckinit.c
+++ b/c/src/lib/libbsp/i386/pc386/clock/ckinit.c
@@ -30,7 +30,6 @@
| $Id$
+--------------------------------------------------------------------------*/
-
#include <stdlib.h>
#include <bsp.h>
@@ -109,7 +108,6 @@ void clockOff(const rtems_irq_connect_data* unused)
outport_byte(TIMER_CNTR0, 0);
} /* Clock_exit */
-
/*-------------------------------------------------------------------------+
| Function: Install_clock
| Description: Initialize and install clock interrupt handler.
@@ -177,8 +175,6 @@ static rtems_irq_connect_data clockIrqData = {BSP_PERIODIC_TIMER,
clockOff,
clockIsOn};
-
-
/*-------------------------------------------------------------------------+
| Clock device driver INITIALIZE entry point.
+--------------------------------------------------------------------------+
@@ -202,7 +198,6 @@ Clock_initialize(rtems_device_major_number major,
return RTEMS_SUCCESSFUL;
} /* Clock_initialize */
-
/*-------------------------------------------------------------------------+
| Console device driver CONTROL entry point
+--------------------------------------------------------------------------*/
@@ -245,7 +240,6 @@ void Clock_exit()
| to be correctly integrated with the rest of the code!!!
+--------------------------------------------------------------------------*/
-
#if 0 && defined(pentium)
/* This can be used to get extremely accurate timing on a pentium. */
diff --git a/c/src/lib/libbsp/i386/pc386/clock/rtc.c b/c/src/lib/libbsp/i386/pc386/clock/rtc.c
index 26c4c2056d..a6330fa929 100644
--- a/c/src/lib/libbsp/i386/pc386/clock/rtc.c
+++ b/c/src/lib/libbsp/i386/pc386/clock/rtc.c
@@ -31,7 +31,6 @@
| $Id$
+--------------------------------------------------------------------------*/
-
#include <string.h>
#include <bsp.h>
@@ -70,7 +69,6 @@
#define RTC_CENTURY 0x32 /* current century - increment in Dec99 */
-
/*-------------------------------------------------------------------------+
| Auxiliary Functions
+--------------------------------------------------------------------------*/
@@ -107,7 +105,6 @@ ytos(uint16_t y)
return ((y - 1970) * SECS_PER_REG_YEAR + (y - 1970 + 1) / 4 * SECS_PER_DAY);
} /* ytos */
-
/*-------------------------------------------------------------------------+
| Function: mtos
| Description: Convert months to seconds since January.
@@ -144,7 +141,6 @@ rtcin(uint8_t what)
return r;
} /* rtcin */
-
/*-------------------------------------------------------------------------+
| Functions
+--------------------------------------------------------------------------*/
@@ -175,7 +171,6 @@ init_rtc(void)
printf("RTC BIOS diagnostic error %b\n", s, RTCDG_BITS); */
} /* init_rtc */
-
/*-------------------------------------------------------------------------+
| Function: rtc_read
| Description: Read present time from RTC and return it.