Commit Graph

16 Commits

Author SHA1 Message Date
Joel Sherrill
5ad38eacae powerpc/shared/clock/clock.c: Remove clock major/minor and clean up 2014-10-13 10:33:31 -05:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Sebastian Huber
509e0f3ff3 bsps/powerpc: Add PPC405 support for shared clock 2013-06-24 10:53:58 +02:00
Sebastian Huber
b0b32b8906 bsps: Fix for clock driver
Do not use the e300 core decrementer auto-reload feature.  We have to
use the normal decrementer handler since otherwise it is impossible to
pass test sptests/spnsext01.
2012-04-02 13:40:16 +02:00
Sebastian Huber
8bb00ace50 bsps: More accurate PowerPC clock driver
The clock driver used previously the bsp_clicks_per_usec value.  For a
33333333Hz time base frequency this leads to a relative error of one per
cent for example due to integer truncation.
2012-04-02 13:40:15 +02:00
Sebastian Huber
e715727613 2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/clock/clock.c: Fix to clear the first pending decrementer
	exception.
2011-07-21 15:10:07 +00:00
Ralf Corsepius
ac7af4a359 Whitespace removal. 2009-11-30 04:37:44 +00:00
Thomas Doerfler
e08dbc5ea9 various PowerPC code maintenance 2009-11-03 18:45:04 +00:00
Thomas Doerfler
2d2de4eba1 Update for exception support changes. 2009-10-23 07:32:46 +00:00
Thomas Doerfler
21ae805dc1 * shared/clock/clock.c: Standard decrementer exception is now more
robust against erroneous external exception disable times.
2009-03-05 13:45:06 +00:00
Thomas Doerfler
74954943d2 Update for status-checks.h changes. 2008-10-10 15:46:32 +00:00
Joel Sherrill
e66402b51e 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/clock/clock.c: Remove unnecessary includes of
	rtems/libcsupport.h and rtems/libio.h.
2008-09-16 19:07:06 +00:00
Joel Sherrill
2d4d710be2 2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/clock/clock.c: The Shared Memory Driver no longer requires the
	special IOCTL in Clock_control. This was a hack which has existed
	since before the Classic API Timer Manager was implemented. All
	implementations of and references to Clock_control were removed.
2008-09-05 22:06:04 +00:00
Joel Sherrill
a9c2508f60 2008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/clock/clock.c: Fixed warnings.
2008-08-19 12:39:55 +00:00
Thomas Doerfler
d3c321367c Changed special purpose register inline functions to macros.
fixed some minors in mpc83xx support
added file for mpc55xx watchdog support
2008-07-18 15:56:48 +00:00
Thomas Doerfler
9f429ae50e Alternative clock driver. Uses exception handler
directly.  Supports special variants for Book E and e300 cores.  For
standard decrementer CPUs the new decrementer value is calculated with
reference to a time base so that a time drift is avoided
2008-07-10 06:11:47 +00:00