Changeset 479c86dd in rtems for c/src/lib/libbsp

Timestamp:
09/23/98 13:22:43 (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1cf2df40
Parents:
8a496e46
Message:

Patch from Erik Ivanenko <erik.ivanenko@…>:

Please find attached the two files that have been changed relative to
980921 . The changes here are in the handling of the counter-timer used
as the basis for the rtems executive clock. For the most part, these
are housekeeping changes.

The PSCLK frequency change in start.s... was a part of several
bug-fixes. The fix improves executive clock and timer accuracy.

changes :

start.s -- All timers are disabled by the initialization routine

-- PSCLK ( used by clock and timers ) frequency changed to 1MHz

The clock_initialize routine now assumes that the PSCLK frequency is
exactly 1 MHz.

ckinit.c

Clock_isr -- removed division by 1000. Now use 'static'
variable -- clock_intial_isr_value -- to reset Clock_isrs variable.
clock_initialize -- moved counter timer initialization here. Values
used to configure the timer are totally dependent on
BSP_configuration.microseconds_per_tick ( and the PSCLK assumption).
Initializes clock_initial_isr_value used by th Clock_isr to reset
Clock_isrs.

clock_on -- no longer configures the timer, just enables it.

Since altering the number of sections in the BSP, I decided to give it a
good "once over" . The clock handling is now cleaner.

(No files)

Note: See TracChangeset for help on using the changeset viewer.