summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* drvmgr: Remove dupl bsp_driver_level_hook() declSebastian Huber2016-01-262-3/+1
|
* bsp/irq-server: Support shared interruptsSebastian Huber2016-01-203-79/+188
|
* score: Fix simple timecounter supportSebastian Huber2016-01-191-1/+15
| | | | Update #2502.
* score: Introduce Thread_Entry_informationSebastian Huber2016-01-112-3/+3
| | | | | | | This avoids potential dead code in _Thread_Handler(). It gets rid of the dangerous function pointer casts. Update #2514.
* Use linker set for system initializationSebastian Huber2015-12-112-92/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-103-31/+0
| | | | | | Use the bsp_predriver_hook() instead. Update #2408.
* bsps: Call bsp_work_area_initialize() earlySebastian Huber2015-12-102-5/+5
| | | | | | | | 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-072-15/+0
| | | | Close #2477.
* Delete empty libc_init()Sebastian Huber2015-11-271-5/+0
|
* irq-server: Fix race condition on SMP systemsSebastian Huber2015-11-121-4/+5
|
* Introduce general purpose system server eventSebastian Huber2015-11-121-5/+3
| | | | | Use this event for the interrupt server to avoid conflicts with application events used by interrupt handlers.
* gpio: free memory in error pathGedare Bloom2015-11-091-11/+8
| | | | Updates #2462.
* bsp/irq-server: Use proper chain APISebastian Huber2015-11-051-5/+9
|
* basedefs.h: Add and use RTEMS_NO_RETURNSebastian Huber2015-10-262-2/+2
|
* Fixes GPIO APIs Naming Convention and CommentsSudarshan Rajagopalan2015-10-212-11/+15
| | | | Closes #2435.
* bsp/qoriq: Use U-Boot provided FDTSebastian Huber2015-10-193-1/+93
|
* various .h files: Add missing C++ extern wrappersMartin Galvan2015-09-031-0/+4
| | | | Updates #2405.
* Closes ticket #2390, and also updates the RPI implementation.Andre Marques2015-08-182-14/+22
| | | | | 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-062-0/+2925
| | | | | | | | | | | 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).
* score: Simplify <rtems/system.h>Sebastian Huber2015-06-261-0/+1
| | | | | Drop the <rtems/score/percpu.h> include since this file exposes a lot of implementation details.
* rtems: Add rtems_interrupt_local_disable|enable()Sebastian Huber2015-06-221-1/+1
| | | | | | | | Add rtems_interrupt_local_disable|enable() as suggested by Pavel Pisa to emphasize that interrupts are only disabled on the current processor. Do not define the rtems_interrupt_disable|enable|flash() macros and functions on SMP configurations since they don't ensure system wide mutual exclusion.
* bsps: Convert clock drivers to use a timecounterAlexander Krutwig2015-05-202-17/+37
| | | | Update #2271.
* DRVMGR: added driver manager to cpukit/libdrvmgrDaniel Hellstrom2015-04-172-0/+18
|
* 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.
* bsps: Use interrupt lock for interrupt serverSebastian Huber2015-03-051-10/+23
|
* bsps: Fix warningSebastian Huber2015-03-051-2/+1
|
* score: Add _CPU_SMP_Prepare_start_multitasking()Sebastian Huber2015-02-171-0/+4
| | | | Update #2268.
* Filesystem: Delete unused fsmountme_h handlerSebastian Huber2015-02-091-1/+0
|
* Filesystem: Delete node type operationSebastian Huber2015-01-221-7/+8
| | | | Use the fstat handler instead.
* bsp/qoriq: Add T2080RDB and T4240RDB variantsSebastian Huber2015-01-131-2/+5
|
* bsps/u-boot: Add optional text and data sectionsSebastian Huber2015-01-091-4/+12
|
* bsps/u-boot: Update due to API changesSebastian Huber2015-01-091-4/+15
|
* clock_driver_simidle.c: Add BSP_CLOCK_DRIVER_DELAYJoel Sherrill2015-01-041-0/+10
| | | | | | | | | This allows the BSP to define an optional spin delay which is useful for making time appear to pass at a rate closer to wall time. On the Edison, this was used with a polled console driver to slow polling to a reasonable rate and make time pass reasonably close to correctly even with no clock tick support.
* Use fixed-width C99 types for PowerPC in_be16() and co.Nick Withers2014-12-231-6/+6
| | | | | | Also use the const qualifier on the address pointer's target in in_*() Closes #2128
* bsp/beagle: Fix some warningsBen Gras2014-12-153-0/+3
| | | | | | | The extra includes in console_*.c are to solve a 'no previous prototype' warning. Solves #2212 in trac.
* libmisc: More useful default configurationSebastian Huber2014-12-051-98/+0
| | | | | | | | | | | The dummy.c was a de-facto default configuration. Rename it to default-configuration.c. Use unlimited objects and the stack checker. This makes it easier for new RTEMS users which will likely use this file if they just work with the usual main() function as the application entry point. Provide proper arguments for main() using the BSP command line. Add spare user extensions and drivers. Do not initialize the network by default. Delete bspinit.c.
* libbsp/shared/bspinit.c: Document assumption of NULL returnedJosh Oguin2014-11-261-12/+12
|
* 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.
* shared/clockdrv_shell.h: Always include <rtems/clockdrv.h> to avoid warningsJoel Sherrill2014-10-201-14/+2
|
* shared/vmeUniverse/vmeTsi148.c: Set defines to get all prototypes for ↵Joel Sherrill2014-10-191-2/+3
| | | | methods in file
* libbsp/shared/umon: Fix warningsJoel Sherrill2014-10-133-3/+39
|
* libbsp/shared/dummy_printk_support.c: Fix warningJoel Sherrill2014-10-131-1/+1
|
* libbsp/shared/vmeUniverse: Fix warningsJoel Sherrill2014-10-133-3/+9
|
* Add console-polled.h and update all BSPs that should use it.Joel Sherrill2014-10-102-5/+51
| | | | | | | | | | | 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
|
* Eliminate use of /*PAGE and clean up formattingJoel Sherrill2014-10-091-51/+9
|
* libbsp/shared/console-polled.c: Fix warningJoel Sherrill2014-10-091-10/+3
|