summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/shared/include/ambapp.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* sparc BSP shared: Improve DoxygenToma Radu2014-01-091-2/+8
| | | | Add doxygen to the header files in sparc/shared/include directory.
* sparc/.../ambapp.h: Add ambapp_get_number_apbslv_devices() prototypeJoel Sherrill2013-09-211-0/+4
|
* sparc/.../ambapp.h: Add ambapp_get_number_ahbslv_devices() prototypeJoel Sherrill2013-09-211-0/+6
|
* LEON: moved register definitions into grlib header fileDaniel Hellstrom2012-05-161-43/+0
| | | | | | | | | | | | 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>
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-2/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* LEON: updated drivers to use new AMBAPP LayerDaniel Hellstrom2012-04-171-140/+133
| | | | | | | The drivers are updated to use the new AMBA layer, however the backwards-compatibility interface (ambapp_old) is used. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON: updated AMBA PnP APIDaniel Hellstrom2012-04-171-192/+318
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old layer had some limitations/problems for multiple AHB buses since the data structure containing all AMBA devices were allocated before scanning. The new layer create devices as they are found and memory is allocated using malloc() or bsp_early_malloc() during booting. The old 8 functions for finding a specific AHB-Slave or APB-Slave device has been replaced with one function, ambapp_for_each(), which iterates over all devices matching the specified search options and calls a user provided function. The new way lowers the footprint and makes searching more flexible. The frequency information is now supported, if the frequency of one device is reported by the user. More AHB-to-AHB bridges are supported. The API has been split into several parts in order to lower the footprint. The API also introduces the AMBAPP CORE concept, where one ambapp_core can be created from one AHB Master, AHB Slave and one APB Slave, at least one device is required for creating a core. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON3: added IRQAMP supportDaniel Hellstrom2012-04-061-3/+4
|
* SPARC BSPs: implemented shared-irq using libbsp/shared layerDaniel Hellstrom2012-04-061-0/+2
| | | | | | | | | | | | | | | The implementation use IRQ number instead of vector number since some IRQs does not have a unique vector, for example the extended interrupts all enter the same trap vector entry. Added support for the LEON3 extended interrupt controller when using the shared IRQ layer. ERC32 patches untested. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com> Regenerate
* Whitespace removal.Ralf Corsepius2009-11-291-4/+4
|
* 2007-12-05 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-12-051-15/+13
| | | | * shared/include/ambapp.h: Sync head and 4.8 branch.
* 2007-11-30 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-11-301-1/+5
| | | | | | | | | * shared/can/grcan.c, shared/can/grcan_rasta.c, shared/include/ambapp.h: GRCAN CAN driver. Fixes Interrupt enabling/disabling in the driver, interrupt may not be restored correctly. Implements the baud rate calculation routine. Removed unnecessary printk. Fixed scanning to support GRCAN and GRHCAN hardware. Added GRCAN device number to ambapp.h.
* 2007-10-11 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-10-111-0/+2
| | | | | | * Makefile.am, shared/can/occan.c, shared/include/ambapp.h: Add initial i2c and update OC-CAN support. * shared/i2c/i2cmst.c, shared/include/i2cmst.h: New files.
* 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-09-061-0/+279
* shared/amba/ambapp.c, shared/include/ambapp.h: New files.