summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon3 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "bsp/leon3: New BSP variant leon3_qemu"Sebastian Huber2014-02-079-99/+0
| | | | | | This reverts commit 7579e255127ee0cf04901bbab6c1538559053508. Improve QEMU to support AMBA plug and play instead.
* bsp/leon3: New BSP variant leon3_qemuSebastian Huber2014-02-069-0/+99
|
* bsp/leon3: Declare bsp_debug_uart_init() in headerSebastian Huber2014-02-063-5/+5
| | | | Do not return a status.
* bsps: Delete unused bsp_smp_delay()Sebastian Huber2014-02-051-23/+0
|
* bsp/leon3: Avoid magic delays for IPI broadcastSebastian Huber2014-02-051-5/+3
|
* bsp/leon3: Fix SMP initializationSebastian Huber2014-02-052-27/+11
| | | | | | | Avoid usage of the same stack area by multiple secondary processors at the same time. Avoid magic delay loops.
* bsp/leon3: Install IPI handler earlySebastian Huber2014-02-051-7/+4
| | | | | | | | Install inter-processor interrupt (IPI) handler before secondary CPUs are started. This ensures that secondary CPUs fetch the newly installed handler. Remove superfluous return statement.
* bsp/leon3: Use printk() only if debug is enabledSebastian Huber2014-02-051-9/+10
|
* bsp/leon3: Console driver changesSebastian Huber2014-02-043-68/+56
| | | | | Move declaration of global variables and functions to <leon.h> header file. Make several global variables and functions static.
* bsp/leon3: Avoid copy and paste in console driverSebastian Huber2014-02-041-39/+23
|
* bsp/leon3: Fix interrupt-driven console driverSebastian Huber2014-02-041-72/+98
|
* doxygen: refactored doxygen in libbsp to illustrate new rule setDaniel Ramirez2013-12-091-3/+12
|
* sparc shared: improve doxygenToma Radu2013-12-071-2/+3
| | | | Add doxygen to the header files in sparc/shared/include directory.
* leon3: fix doxygen description for bsp.hGedare Bloom2013-12-041-1/+1
|
* leon3: improve doxygenToma Radu2013-12-044-1/+23
| | | | Add doxygen to the bsp.h, tm27.h, amba.h and leon.h files
* sparc: refactored shared/start.S to shared/start/start.SDaniel Ramirez2013-12-031-1/+1
|
* libbsp: refactored sparc/shared/bspgetworkarea.c to ↵Daniel Ramirez2013-12-031-1/+1
| | | | | | sparc/shared/startup/bspgetworkarea.c * refactored sparc/shared/bspgetworkarea.c to sparc/shared/startup/bspgetworkarea.c
* sparc/leon3: Add doxygen.Radu Toma2013-12-017-19/+40
|
* bsp/ngmp: New BSP variantSebastian Huber2013-11-134-0/+25
|
* bsp/leon3: Enable linker script variantsSebastian Huber2013-11-134-4/+11
|
* bsp/leon3: Delete unused LEON_REG symbolSebastian Huber2013-11-131-7/+0
|
* LEON3 SMP: remove compiler warning from __delay() declarationDaniel Hellstrom2013-10-311-1/+1
|
* LEON3 SMP: CPU ack irq on trap vector entry executionDaniel Hellstrom2013-10-311-1/+0
|
* sparc all BSPs: Use function and data sectionsJoel Sherrill2013-10-241-0/+3
| | | | This reduces the size of the RTEMS tests on average about 45%.
* leon3/bsppredriver.c: Add include file to warningJoel Sherrill2013-09-231-0/+1
|
* 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
|
* leon3/.../bspstart.c: Fix missing prototype warningsJoel Sherrill2013-09-221-2/+2
|
* leon3/console.c: Fix misisng prototype issuesJoel Sherrill2013-09-211-2/+15
|
* leon3/include/bsp.h: Fix spacingJoel Sherrill2013-09-161-1/+0
|
* bsps: Fix clock driver definesSebastian Huber2013-08-141-1/+1
|
* smp: Add and use _Per_CPU_Get()Sebastian Huber2013-07-301-5/+5
| | | | | | Add and use _Per_CPU_Get_by_index() and _Per_CPU_Get_index(). Add _Per_CPU_Send_interrupt(). This avoids direct access of _Per_CPU_Information.
* smp: Add and use _CPU_SMP_Send_interrupt()Sebastian Huber2013-07-171-5/+3
| | | | Delete bsp_smp_interrupt_cpu().
* smp: Add and use _CPU_SMP_Get_current_processor()Sebastian Huber2013-07-172-7/+9
| | | | | | | | | | Add and use _SMP_Get_current_processor() and rtems_smp_get_current_processor(). Delete bsp_smp_interrupt_cpu(). Change type of current processor index from int to uint32_t to match _SMP_Processor_count type.
* termios: Update due to API changesSebastian Huber2013-06-251-16/+13
| | | | | Termios notifies now the driver about an inactive transmit with the length argument set to zero.
* score: Rename rtems_smp_get_number_of_processors()Sebastian Huber2013-06-141-1/+1
| | | | | | | | | Rename in rtems_smp_get_processor_count(). Always provide <rtems/score/smp.h> and <rtems/rtems/smp.h>. Add _SMP_Get_processor_count(). This function will be a compile time constant defined to be one on uni-processor configurations. This allows iterations over all processors without overhead on uni-processor configurations.
* smp: Simplify SMP initialization sequenceSebastian Huber2013-05-291-23/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Delete bsp_smp_wait_for(). Other parts of the system work without timeout, e.g. the spinlocks. Using a timeout here does not make the system more robust. Delete bsp_smp_cpu_state and replace it with Per_CPU_State. The Per_CPU_State follows the Score naming conventions. Add _Per_CPU_Change_state() and _Per_CPU_Wait_for_state() functions to change and observe states. Use Per_CPU_State in Per_CPU_Control instead of the anonymous integer. Add _CPU_Processor_event_broadcast() and _CPU_Processor_event_receive() functions provided by the CPU port. Use these functions in _Per_CPU_Change_state() and _Per_CPU_Wait_for_state(). Add prototype for _SMP_Send_message(). Delete RTEMS_BSP_SMP_FIRST_TASK message. The first context switch is now performed in rtems_smp_secondary_cpu_initialize(). Issuing the first context switch in the context of the inter-processor interrupt is not possible on systems with a modern interrupt controller. Such an interrupt controler usually requires a handshake protocol with interrupt acknowledge and end of interrupt signals. A direct context switch in an interrupt handler circumvents the interrupt processing epilogue and may leave the system in an inconsistent state. Release lock in rtems_smp_process_interrupt() even if no message was delivered. This prevents deadlock of the system. Simplify and format _SMP_Send_message(), _SMP_Request_other_cores_to_perform_first_context_switch(), _SMP_Request_other_cores_to_dispatch() and _SMP_Request_other_cores_to_shutdown().
* smp: Delete bsp_smp_secondary_cpu_initialize()Sebastian Huber2013-05-291-2/+6
| | | | | | | Do not call bsp_smp_secondary_cpu_initialize() in rtems_smp_secondary_cpu_initialize(). This allows more flexibilty in the BSP low-level code. Specify context requirements for a call to rtems_smp_secondary_cpu_initialize().
* smp: Simplify main CPU initializationSebastian Huber2013-05-291-8/+6
| | | | | | Call _SMP_Handler_initialize() later and move bsp_smp_initialize() into _SMP_Handler_initialize(). Change bsp_smp_initialize() prototype to match integer types of calling context.
* smp: Add maximum_processors field to configSebastian Huber2013-05-161-3/+3
| | | | | | | Delete rtems_configuration_get_smp_maximum_processors(). Delete rtems_configuration_smp_maximum_processors variable. Add maximum_processors field to rtems_configuration_table if RTEMS_SMP is defined. Add rtems_configuration_get_maximum_processors().
* RTEMS: Delete ChangeLog files.Gedare Bloom2013-03-081-599/+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.
* 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-271-17/+21
| | | | | | | | | | | | | | | | | | | | | 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-252-3/+1
|
* bsps: Interrupt initialization error is fatalSebastian Huber2012-11-151-1/+1
|
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-152-3/+3
| | | | | | | 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: Add BSP_INITIAL_EXTENSION to <bsp.h>Sebastian Huber2012-11-132-0/+3
| | | | The bsp_fatal_extension() will call BSP_fatal_return().
* sapi: Use rtems_*_get_user_multiprocessing_tableSebastian Huber2012-11-071-1/+1
|