summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* drvmgr: Remove dupl bsp_driver_level_hook() declSebastian Huber2016-01-261-2/+0
|
* bsp/irq-server: Support shared interruptsSebastian Huber2016-01-201-0/+6
|
* Use linker set for system initializationSebastian Huber2015-12-111-20/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make rtems_initialize_data_structures(), rtems_initialize_before_drivers() and rtems_initialize_device_drivers() static. Rename rtems_initialize_start_multitasking() to rtems_initialize_executive() and call the registered system initialization handlers in this function. Add system initialization API available via #include <rtems/sysinit.h>. Update the documentation accordingly. This is no functional change, only the method to call the existing initialization routines changes. Instead of direct function calls a table of function pointers contained in the new RTEMS system initialization linker set is used. This table looks like this (the actual addresses depend on the target). nm *.exe | grep _Linker | sort 0201a2d0 D _Linker_set__Sysinit_begin 0201a2d0 D _Linker_set__Sysinit_bsp_work_area_initialize 0201a2d4 D _Linker_set__Sysinit_bsp_start 0201a2d8 D _Linker_set__Sysinit_rtems_initialize_data_structures 0201a2dc D _Linker_set__Sysinit_bsp_libc_init 0201a2e0 D _Linker_set__Sysinit_rtems_initialize_before_drivers 0201a2e4 D _Linker_set__Sysinit_bsp_predriver_hook 0201a2e8 D _Linker_set__Sysinit_rtems_initialize_device_drivers 0201a2ec D _Linker_set__Sysinit_bsp_postdriver_hook 0201a2f0 D _Linker_set__Sysinit_end Add test sptests/spsysinit01. Update #2408.
* bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber2015-12-101-3/+0
| | | | | | Use the bsp_predriver_hook() instead. Update #2408.
* bsps: Call bsp_work_area_initialize() earlySebastian Huber2015-12-101-1/+1
| | | | | | | | Call bsp_work_area_initialize() before bsp_start(). This allows bsp_start() to use malloc() etc. which is beneficial for systems with a plug-and-play hardware enumeration. Update #2408.
* Remove <rtems/debug.h>Sebastian Huber2015-12-071-2/+0
| | | | Close #2477.
* basedefs.h: Add and use RTEMS_NO_RETURNSebastian Huber2015-10-262-2/+2
|
* Fixes GPIO APIs Naming Convention and CommentsSudarshan Rajagopalan2015-10-211-8/+12
| | | | Closes #2435.
* bsp/qoriq: Use U-Boot provided FDTSebastian Huber2015-10-192-1/+34
|
* Closes ticket #2390, and also updates the RPI implementation.Andre Marques2015-08-181-8/+10
| | | | | makes rtems_gpio_bsp_get_value return uint32_t. Motivation: simplify beagle gpio implementation for common gpio apio.
* RTEMS GPIO API definition and implementation.Andre Marques2015-08-061-0/+948
| | | | | | | | | | | Changes relative to the previous patch set: - Moved GPIO pin interrupts to rtems chains, instead of a local linked list; - Restructured the pin tracking structure, separating the interrupt information for each pin meaning that a pin without any interrupt enabled only requires 8 bytes, while keeping interrupt information (handling information, handler chain control, ...) requires 24 additional bytes (total of 32 bytes per pin with interrupts enabled); - Added support for 'parallel' pin function assignment, allowing the function assignment to be set for multiple pins in a single GPIO hardware call. If a BSP does not support this feature it becomes a sequence of individual calls per pin. Also added support for GPIO pin groupings, allowing to write and read byte data to a series of pins which behave as a single entity; - Added bank tracking structure to maintain the bank lock and bank level interrupt information (threaded/normal handling, interrupt counter); - Changed GPIO settings to BSP defined constants, reducing dynamic memory allocation; - Switched interrupt tasks for a rtems interrupt server, with the possibility of using normal interrupts (user handlers being called within ISR context).
* DRVMGR: added driver manager to cpukit/libdrvmgrDaniel Hellstrom2015-04-171-0/+2
|
* Add CAN, PWM, ADC and UART1/2/3 support to the LPC176x BSP.Martin Galvan2015-03-201-2/+2
| | | | | | | | | | This patch adds support for the following devices to the LPC176x BSP: * CAN * PWM * ADC It also adds the probe routines for UART1/2/3 to the console_device_table in console-config.c, and enables UART1 in configure.ac.
* Move contents of libcsupport/include/zilog into libbsp/sharedJoel Sherrill2015-03-092-0/+203
| | | | Only a few BSPs use this and it should not have been in libcsupport.
* bsp/qoriq: Add T2080RDB and T4240RDB variantsSebastian Huber2015-01-131-2/+5
|
* bsps/u-boot: Update due to API changesSebastian Huber2015-01-091-4/+15
|
* bsps/arm: L2C 310 exclusive config is fatalSebastian Huber2014-11-201-1/+2
|
* bsps/arm: L2C 310 add compile time checksSebastian Huber2014-11-201-1/+5
| | | | Simplify initialization. Replace some assert() with fatal errors.
* bsp/sparc: Ensure that data cache snooping is enabledDaniel Cederman2014-10-231-0/+2
| | | | Check that data cache snooping exists and is enabled on all cores.
* Add console-polled.h and update all BSPs that should use it.Joel Sherrill2014-10-101-0/+43
| | | | | | | | | | | The file console-polled.h provides the prototypes for the three required methods when implementing a single port polled console driver. This paradigm is common on simulators and simple hardware. + Updated the BSPs Makefile.am to make console-polled.h available. + Regenerated the BSPs preinstall.sm. + Updated console support files to include <bsp/console-polled.h>. + Updated console support files to make printk() support method static.
* bsp/gen5200: Fix warningsSebastian Huber2014-10-101-0/+3
|
* LEON3: use interrupt layer in clock driverDaniel Hellstrom2014-10-091-0/+1
| | | | | Manupilating the interrupt control registers directly instead of going through the interrupt layer can be deceiving.
* bsps: Add Termios console driver initializationSebastian Huber2014-10-072-0/+138
| | | | | | Add a simple Termios console driver using a table for statically registered devices used in console_initialize() and dynamic installation via console_device_install().
* uart-output-char.h: extra offset definition.Ben Gras2014-07-151-0/+2
| | | | | | | All, This patch is submitted as its values are used in my to-be-submitted beagle bsp.
* bsps: Declare bsp_start_on_secondary_processors()Sebastian Huber2014-05-121-1/+11
|
* bsps: Fix BSP_INITIAL_EXTENSIONSebastian Huber2014-05-071-1/+1
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-2113-13/+13
|
* libchip: Relax buffer counts and add fatal errorRalf Kirchner2014-03-141-1/+4
|
* bsps: SMP support for generic interrupt supportSebastian Huber2014-03-061-4/+26
|
* bsps: Delete LEON3_FATAL_CPU_COUNTER_INITSebastian Huber2014-02-281-2/+1
|
* bsps: Add empty cache managerSebastian Huber2014-02-241-0/+1
| | | | | This is necessary to add tests that use the cache manager. For example to get better estimates of worst-case timings.
* bsp/leon3: Add and use fatal codesSebastian Huber2014-02-191-0/+2
|
* score: Add RTEMS_FATAL_SOURCE_BSPSebastian Huber2014-02-193-53/+115
| | | | | | Merge RTEMS_FATAL_SOURCE_BSP_GENERIC and RTEMS_FATAL_SOURCE_BSP_SPECIFIC into new fatal source RTEMS_FATAL_SOURCE_BSP. This makes it easier to figure out the code position given a fatal source and code.
* shared vmeUniverse: Improve DoxygenSzkocsovszki Zsolt2014-01-086-6/+77
|
* doxygen: refactored doxygen in libbsp to illustrate new rule setDaniel Ramirez2013-12-093-10/+4
|
* doxygen: refactored doxygen in libbsp/arm/lpc32xxDaniel Ramirez2013-11-293-16/+2
| | | | | | | | This patch refactors a lot of the existing doxygen within libbsp/arm/lpc32xx. Much of this refactoring was just renaming of existing groups to conform to a more consistent naming structure. With the addition of a doxygen header for tm27.h, all files within lpc32xx belong to doxygen group now. lpc32xx should be used a reference for adding doxygen to other bsps.
* Shared MMU initialization for ARM BSPs and RaspberryPi MMU supportHesham AL-Matary2013-10-031-0/+25
| | | | | | | Add support for MMU initialization for RaspberryPi. Introduce new shared MMU configuration table that can be used by other BSPs that call the arm_cp15_start_setup_translation_table_and_enable_mmu_and_cache function. Demonstrate the use of the generic table with RaspberryPi.
* bsps: Fix header includesSebastian Huber2013-08-271-2/+4
|
* bsps: Simplify bsp_generic_fatal() declarationSebastian Huber2013-07-111-8/+2
|
* libbsp/shared/generic-fatal.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to bsp_fJoel Sherrill2013-07-101-0/+7
|
* bsps: Add fatal errors for shared console driverSebastian Huber2013-06-211-1/+9
|
* bsps: Move bsp_generic_fatal_code to new fileSebastian Huber2013-06-212-11/+44
| | | | Add bsp_generic_fatal().
* score: rtems_initialize_start_multitasking()Sebastian Huber2012-12-071-7/+2
| | | | | | | | | Do not return from rtems_initialize_start_multitasking() and call rtems_fatal() instead with a fatal source of RTEMS_FATAL_SOURCE_EXIT and a fatal code with the exit status. Remove all bsp_cleanup() functions. The boot_card() is now a no return function.
* bsps: Add BSP_GENERIC_FATAL_SPURIOUS_INTERRUPTSebastian Huber2012-12-071-1/+2
| | | | Use rtems_fatal() instead of bsp_cleanup().
* bsps/powerpc: Exception initialization error is fatalSebastian Huber2012-11-151-0/+1
|
* bsps: Interrupt initialization error is fatalSebastian Huber2012-11-152-10/+22
|
* sapi: Add rtems_fatal_source and rtems_fatal_codeSebastian Huber2012-11-151-2/+2
|
* bsps: New file <bsp/default-initial-extension.h>Sebastian Huber2012-11-131-0/+37
|
* bsps: Add bsp_work_area_initialize_with_table()Sebastian Huber2012-10-251-0/+9
|
* score: Work area initialization API changeSebastian Huber2012-10-251-64/+111
| | | | | | | | | | | | 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.