From 5e7b6272fc10068c22bfedb18a26a23a37e9a7ff Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 31 May 1996 23:27:45 +0000 Subject: renamed _TOD_Ticks_since_boot as _Watchdog_Ticks_since_boot so the Watchdog Handler could timestamp the starting and stopping of timers. Since TOD is built on top of Watchdog, this avoided a circular dependency. --- c/src/exec/rtems/src/clock.c | 2 +- c/src/exec/rtems/src/rtclock.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'c/src/exec/rtems') diff --git a/c/src/exec/rtems/src/clock.c b/c/src/exec/rtems/src/clock.c index ea340ae5f4..f73401809c 100644 --- a/c/src/exec/rtems/src/clock.c +++ b/c/src/exec/rtems/src/clock.c @@ -62,7 +62,7 @@ rtems_status_code rtems_clock_get( return RTEMS_SUCCESSFUL; case RTEMS_CLOCK_GET_TICKS_SINCE_BOOT: - *(rtems_interval *)time_buffer = _TOD_Ticks_since_boot; + *(rtems_interval *)time_buffer = _Watchdog_Ticks_since_boot; return RTEMS_SUCCESSFUL; case RTEMS_CLOCK_GET_TICKS_PER_SECOND: diff --git a/c/src/exec/rtems/src/rtclock.c b/c/src/exec/rtems/src/rtclock.c index ea340ae5f4..f73401809c 100644 --- a/c/src/exec/rtems/src/rtclock.c +++ b/c/src/exec/rtems/src/rtclock.c @@ -62,7 +62,7 @@ rtems_status_code rtems_clock_get( return RTEMS_SUCCESSFUL; case RTEMS_CLOCK_GET_TICKS_SINCE_BOOT: - *(rtems_interval *)time_buffer = _TOD_Ticks_since_boot; + *(rtems_interval *)time_buffer = _Watchdog_Ticks_since_boot; return RTEMS_SUCCESSFUL; case RTEMS_CLOCK_GET_TICKS_PER_SECOND: -- cgit v1.2.3