summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon3/clock (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* bsps/leon3: Add interrupt delay profiling supportSebastian Huber2014-03-141-1/+38
|
* sparc: Fix CPU counter supportSebastian Huber2014-02-241-7/+0
| | | | | | | | The SPARC processors supported by RTEMS have no built-in CPU counter support. We have to use some hardware counter module for this purpose. The BSP must provide a 32-bit register which contains the current CPU counter value and a function for the difference calculation. It can use for example the GPTIMER instance used for the clock driver.
* Revert "bsp/leon3: New BSP variant leon3_qemu"Sebastian Huber2014-02-071-25/+0
| | | | | | This reverts commit 7579e255127ee0cf04901bbab6c1538559053508. Improve QEMU to support AMBA plug and play instead.
* bsp/leon3: New BSP variant leon3_qemuSebastian Huber2014-02-061-0/+25
|
* leon3/.../ckinit.c: Change get nanoseconds handler to staticJoel Sherrill2013-09-231-6/+1
|
* leon3/.../ckinit.c: Fix missing prototype warningsJoel Sherrill2013-09-221-1/+5
|
* bsps: Fix clock driver definesSebastian Huber2013-08-141-1/+1
|
* LEON: moved register definitions into grlib header fileDaniel Hellstrom2012-05-161-5/+5
| | | | | | | | | | | | Some register layout definitions for LEON3 reside in ambapp.h which does not really has anything to do with device registers. The register structures has been incorrectly named LEON3_*, the cores are not only used on LEON3 but on LEON4 and perhaps on LEON5 when that day comes. Some structures has been renamed according to the GRLIB core name instead, which CPU that actually use it is not relevant. Drivers has been updated with the new names. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON2: clock driver use new AMBAPP layerDaniel Hellstrom2012-04-171-8/+8
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON3 - Fix spacingJoel Sherrill2012-04-061-1/+1
|
* LEON3: IRQ index mask was bad, but always shifted out anywayDaniel Hellstrom2012-03-291-1/+1
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON3: clock timer indexing should be consequentDaniel Hellstrom2012-03-291-3/+3
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* 2011-03-04 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-03-041-4/+11
| | | | | | | | PR 1748/bsps * clock/ckinit.c, include/leon.h: When the clock tick generates an interrupt WHILE we have interrupts disabled doing a get TOD or uptime, the get nanoseconds handler was returning a bogusly large number.
* Whitespace removal.Ralf Corsepius2009-11-291-1/+1
|
* 2008-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-09-301-1/+1
| | | | | * clock/ckinit.c: include "../../../shared/clockdrv_shell.h". * Makefile.am: Reflect changes above.
* 2008-05-07 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-071-0/+15
| | | | * clock/ckinit.c: Add nanoseconds clock tick granularity support.
* 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-111-3/+1
| | | | | | * clock/ckinit.c, include/bsp.h, startup/bspstart.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.
* 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-041-5/+19
| | | | | | | * amba/amba.c, clock/ckinit.c, console/console.c, include/bsp.h, startup/bspstart.c, timer/timer.c: Move interrupt_stack_size field from CPU Table to Configuration Table. Eliminate CPU Table from all ports. Delete references to CPU Table in all forms.
* 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-09-061-4/+4
| | | | | * amba/amba.c: Add missing part of previous patch. * clock/ckinit.c: Update previous patch.
* 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-09-061-21/+12
| | | | | | | | * clock/ckinit.c, console/console.c, leon_greth/leon_greth.c, leon_smc91111/leon_smc91111.c: LEON3 BSP drivers updated to use new AMBA PnP scanning functions. Affected drivers: amba/amba.c,clock/ckinit.c,console/console.c, leon_greth/leon_greth.c, leon_smc9111.c.
* 2006-11-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-11-161-246/+61
| | | | | | | | | | * clock/ckinit.c, startup/bspstart.c: Use common clock driver template and eliminate all fast idle code specific to this BSP. This eliminates a fair amount of code in the BSP clock driver and bsp_startup. The LEON3 has to do a scan of the AMBA bus to find the timer so I added the new hook Clock_driver_support_find_timer to support this. In general, there was some clean up to the file headers of various files.
* 2006-07-13 Jerry Needell <jerry.needell@unh.edu>Joel Sherrill2006-07-141-10/+34
| | | | | | * clock/ckinit.c, include/leon.h, timer/timer.c, amba/amba.c fixed up merge from 4.6.6. Correct references to LEON3_IrqCtrl_Regs_Map.mask[x] and LEON3_Timer_Regs_Map.timer[x].
* 2006-07-12 Jerry Needell <jerry.needell@unh.edu>Joel Sherrill2006-07-121-32/+0
| | | | | | * amba/amba.c, clock/ckinit.c, include/amba.h, timer/timer.c: Search for the Timer Register when initializing the amba rather than before each potential use.
* 2006-07-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-07-111-0/+2
| | | | * clock/ckinit.c: Actually call the routine to find the LEON3 time.
* 2006-07-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-07-111-21/+36
| | | | | * clock/ckinit.c, timer/timer.c: Make sure LEON3_Timer_Regs is initialized for the timer driver.
* 2006-07-11 Jerry Needell <jerry.needell@unh.edu>Joel Sherrill2006-07-111-3/+4
| | | | | | * ChangeLog, Makefile.am, clock/ckinit.c, include/amba.h, include/bsp.h: Merge SPARC updates from 4.6 branch. Original modifications by Gaisler Enterprises.
* Backport from rtems-4-6-branch.Ralf Corsepius2006-01-091-0/+269