summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* RTEMS: Delete ChangeLog files.Gedare Bloom2013-03-084-2492/+0
| | | | | | | | | This commit deletes all RTEMS ChangeLog files. These files have been abandoned since converting to git version control. The historical data may be recovered by checking out any commit before this one. Most of the contents of these ChangeLog files can also be found in the git log. Two external ChangeLog files, ChangeLog.slac and ChangeLog.zlib, remain.
* sparc: Remove dead code that was leftover from SMP development.Jennifer Averett2013-02-261-4/+0
|
* libchip/serial: Add const qualifierSebastian Huber2013-02-111-2/+2
|
* bsp/erc32: Fix warningsSebastian Huber2013-02-111-2/+2
|
* leon3: disable unused ISR handlerJoel Sherrill2013-01-081-0/+2
|
* leon3/shmsupp: Fix warnings & comment clean upJoel Sherrill2013-01-083-65/+36
|
* leon3: Open Ethernet Fixed WarningJoel Sherrill2013-01-081-1/+1
|
* score: Add CPU_Exception_frameSebastian Huber2012-11-274-50/+64
| | | | | | | | | | | | | | | | | | | | | Add CPU port type CPU_Exception_frame and function _CPU_Exception_frame_print(). The CPU ports of avr, bfin, h8300, lm32, m32c, m32r, m68k, nios2, sh, sparc64, and v850 use an empty default implementation of _CPU_Exception_frame_print(). Add rtems_exception_frame and rtems_exception_frame_print(). Add RTEMS_FATAL_SOURCE_EXCEPTION for CPU exceptions. Use rtems_fatal() with source RTEMS_FATAL_SOURCE_EXCEPTION in CPU ports of i386, powerpc, and sparc for unexpected exceptions. Add third parameter to RTEMS_BSP_CLEANUP_OPTIONS() which controls the BSP_PRINT_EXCEPTION_CONTEXT define used in the default bsp_fatal_extension(). Add test sptests/spfatal26.
* bsps: Use RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber2012-11-256-9/+3
|
* bsps: Interrupt initialization error is fatalSebastian Huber2012-11-154-9/+5
|
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-156-9/+9
| | | | | | | Include <bsp/default-initial-extension.h> in all BSPs. Call rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit() status code as fatal code in every bsp_cleanup(). Move previous bsp_cleanup() code into bsp_fatal_extension().
* bsps/sparc: Define bsp_reset()Sebastian Huber2012-11-141-0/+2
| | | | | This is declared in <bsp/bootcard.h> and is the usual function to reset a board.
* bsps/sparc: Add BSP_INITIAL_EXTENSION to <bsp.h>Sebastian Huber2012-11-137-0/+33
| | | | The bsp_fatal_extension() will call BSP_fatal_return().
* bsps/sparc: Delete unused symbol declarationSebastian Huber2012-11-071-1/+0
|
* sapi: Use rtems_*_get_user_multiprocessing_tableSebastian Huber2012-11-071-1/+1
|
* score: Work area initialization API changeSebastian Huber2012-10-255-26/+17
| | | | | | | | | | | | The work areas (RTEMS work space and C program heap) will be initialized now in a separate step and are no longer part of rtems_initialize_data_structures(). Initialization is performed with tables of Heap_Area entries. This allows usage of scattered memory areas present on various small scale micro-controllers. The sbrk() support API changes also. The bsp_sbrk_init() must now deal with a minimum size for the first memory chunk to take the configured work space size into account.
* Revert "Add bspopts.h.in."Gedare Bloom2012-08-063-138/+0
| | | | | | | | | | | | This reverts commit daffa606cc4a45d93c1f0f4fe365fde0fda6acbb. Conflicts: c/src/lib/libbsp/arm/lpc24xx/include/bspopts.h.in c/src/lib/libbsp/powerpc/mpc55xxevb/include/bspopts.h.in c/src/lib/libbsp/powerpc/qoriq/include/bspopts.h.in Manually deleted conflicting files.
* Remove CVS-Ids.Ralf Corsépius2012-07-197-14/+0
|
* Require automake-1.12.2.Ralf Corsépius2012-07-194-4/+4
|
* Require autoconf-2.69.Ralf Corsépius2012-07-194-4/+4
|
* Fix broken _endtext symbolSebastian Huber2012-07-161-2/+2
|
* sparc linkcmds.base: Add new FreeBSD TCP/IP stack sectionsJoel Sherrill2012-07-141-11/+24
|
* Add bspopts.h.in.Ralf Corsépius2012-05-243-0/+138
|
* pci.h cleanup - Consolidate common defines to cpukit pci.hJoel Sherrill2012-05-164-1158/+24
| | | | | | | | | | | | | + libbsp/sparc/shared/include/pci.h was largely a copy of an older version of the cpukit pci.h. Removed much of the contents and included <rtems/pci.h>. + sparc/*/pci*.c - Move to <rtems/pci.h> required updating to use uint32_t for dword accesses. + Rename PCI_MULTI_FUNCTION to PCI_HEADER_TYPE_MULTI_FUNCTION + Define PCI_HEADER_TYPE_MULTI_FUNCTION in cpukit pci.h and remove PCI_MULTI_FUNCTION definitions in C files. + Move PCI_INVALID_VENDORDEVICEID definitions from various C files to cpukit pci.h
* LEON: moved register definitions into grlib header fileDaniel Hellstrom2012-05-1621-134/+153
| | | | | | | | | | | | 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-1177-168/+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.
* Revert: Remove CVS IdsJoel Sherrill2012-05-076-0/+16
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* Remove CVS-Ids.Ralf Corsépius2012-05-046-16/+0
|
* LEON3 - Remove bad $Id$ and clean up file headerJoel Sherrill2012-05-021-4/+6
|
* LEON2 - Remove bad $Id$ and clean up file headerJoel Sherrill2012-05-021-4/+6
|
* LEON3: rename console/debugputs.c to printk_support.cDaniel Hellstrom2012-04-192-1/+1
|
* LEON3: added TX-wait-complete and CR on NL support for UARTDaniel Hellstrom2012-04-192-6/+23
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON3: debugputs removed pointless isinit code, invoked only onceDaniel Hellstrom2012-04-191-34/+26
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON3: debugputs added printk mem buffer when no UART presentDaniel Hellstrom2012-04-191-1/+13
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON3: add console interrupt mode supportDaniel Hellstrom2012-04-192-23/+153
| | | | | | | | | The comment in configure.ac is probably inherited from the LEON2 BSP. The LEON3 console driver implements a "flush" mechanism on console_close() in order to solve the problem described with sis/LEON2. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON3: add console attributes such as parity and baudrateDaniel Hellstrom2012-04-191-3/+68
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON3: console, lower bus utilization waiting for UART TX readyDaniel Hellstrom2012-04-191-3/+7
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON: updated drivers to use new AMBAPP LayerDaniel Hellstrom2012-04-1731-259/+266
| | | | | | | 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>
* LEON3: Network initialization code updated to new AMBAPP layerDaniel Hellstrom2012-04-173-41/+50
| | | | | | | Updated SMC91111, GRETH and open_eth driver registration code to use new AMBAPP Layer. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON3: updated console driver for new AMBAPP layerDaniel Hellstrom2012-04-177-43/+75
| | | | 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>
* LEON: updated AMBA PnP APIDaniel Hellstrom2012-04-1719-634/+1839
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* PR2052: LEON3: fix open_eth interrupt initialization bugDaniel Hellstrom2012-04-101-4/+4
| | | | | | | Fixed a bug where the vector number is used to clean and unmask the IRQ at the IRQ controller, the irq number must be used. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* GRETH: use shared-irq service instead of BSP specific set_vec()Daniel Hellstrom2012-04-061-5/+2
| | | | | | | | | | The ISR code is updated to use argument instead of global greth structure, now that the greth private is available in the ISR. The shared-irq routines will unmask the IRQ, so the forced LEON3 BSP unmask/clear IRQ is removed. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* SMC91111: updated to use shared IRQ serviceDaniel Hellstrom2012-04-062-8/+6
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON3 - Fix spacingJoel Sherrill2012-04-062-2/+2
|
* LEON3: added IRQAMP supportDaniel Hellstrom2012-04-062-3/+18
|
* LEON3: halt boot if IRQ controller not foundDaniel Hellstrom2012-04-061-4/+9
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* SPARC BSPs: implemented shared-irq using libbsp/shared layerDaniel Hellstrom2012-04-0623-4/+634
| | | | | | | | | | | | | | | 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
* LEON3: console use register pointers instead of UART indexesDaniel Hellstrom2012-04-052-33/+33
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>