| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Manupilating the interrupt control registers directly instead
of going through the interrupt layer can be deceiving.
|
|
|
|
| |
This enables re-use for other BSPs
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
This reverts commit 7579e255127ee0cf04901bbab6c1538559053508.
Improve QEMU to support AMBA plug and play instead.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
|
| |
|
|
|
|
| |
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
|
|
|
|
| |
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
* clock/ckinit.c: include "../../../shared/clockdrv_shell.h".
* Makefile.am: Reflect changes above.
|
|
|
|
| |
* clock/ckinit.c: Add nanoseconds clock tick granularity support.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* amba/amba.c: Add missing part of previous patch.
* clock/ckinit.c: Update previous patch.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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].
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* clock/ckinit.c: Actually call the routine to find the LEON3 time.
|
|
|
|
|
| |
* clock/ckinit.c, timer/timer.c: Make sure LEON3_Timer_Regs is
initialized for the timer driver.
|
|
|
|
|
|
| |
* ChangeLog, Makefile.am, clock/ckinit.c, include/amba.h,
include/bsp.h: Merge SPARC updates from 4.6 branch. Original
modifications by Gaisler Enterprises.
|
|
|