summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Fix simple timecounter supportSebastian Huber2016-01-271-1/+15
| | | | Close #2502.
* various .h files: Add missing C++ extern wrappersMartin Galvan2015-09-031-0/+4
| | | | Updates #2405.
* 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
|
* libbsp/shared/clockdrv_shell.h: Fix warningJoel Sherrill2014-10-091-0/+1
|
* 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-073-0/+239
| | | | | | Add a simple Termios console driver using a table for statically registered devices used in console_initialize() and dynamic installation via console_device_install().
* tod.h -> libcsupport like other driver and helper prototype filesJoel Sherrill2014-09-162-71/+1
| | | | | This rippled into the handful of files that should have been using <rtems/tod.h>.
* Use correct prototype of benchmark_timer_read()Joel Sherrill2014-09-161-1/+1
| | | | | | | | | | | | | | This change starts with removing the effectively empty file timerdrv.h. The prototypes for benchmark_timer_XXX() were in btimer.h which was not universally used. Thus every use of timerdrv.h had to be changed to btimer.h. Then the prototypes for benchmark_timer_read() had to be adjusted to return benchmark_timer_t rather than int or uint32_t. I took this opportunity to also correct the file headers to separate the copyright from the file description comments which is needed to ensure the copyright isn't propagated into Doxygen output.
* clockdrv_shell.h: Fix warningSebastian Huber2014-09-081-1/+1
|
* 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: Basic console driver for Termios devicesSebastian Huber2014-07-091-0/+73
|
* bsps: Declare bsp_start_on_secondary_processors()Sebastian Huber2014-05-121-1/+11
|
* bsps: Use standard file name for BSP supportSebastian Huber2014-05-122-0/+0
|
* bsps: Fix BSP_INITIAL_EXTENSIONSebastian Huber2014-05-071-1/+1
|
* dummy_printk_support.c: Comment clean upJoel Sherrill2014-04-221-6/+9
|
* score: SMP initialization changesSebastian Huber2014-04-141-1/+10
| | | | | | | | | | | | | | | | | Add and use _CPU_SMP_Start_processor(). Add and use _CPU_SMP_Finalize_initialization(). This makes most _CPU_SMP_Initialize() functions a bit simpler since we can calculate the minimum value of the count of processors requested by the application configuration and the count of physically or virtually available processors in the high-level code. The CPU port has now the ability to signal a processor start failure. With the support for clustered/partitioned scheduling the presence of particular processors can be configured to be optional or mandatory. There will be a fatal error only in case mandatory processors are not present. The CPU port may use a timeout to monitor the start of a processor.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-2156-56/+56
|
* libchip: Relax buffer counts and add fatal errorRalf Kirchner2014-03-141-1/+4
|
* rtems: Add RTEMS_INTERRUPT_REPLACESebastian Huber2014-03-061-27/+54
| | | | | | | | | | | | | | | | | | | | | A new option RTEMS_INTERRUPT_REPLACE is introduced that permits updating the first interrupt handler for the registered interrupt vector and matching argument. If no match is found, the install function fails with RTEMS_UNSATISFIED. The Interrupt Manager Extension offers interrupt handlers with an argument pointer. It is impossible to update two words (handler and argument) atomically on most architectures. In order to avoid an SMP lock in bsp_interrupt_handler_dispatch() which would degrade the interrupt response time an alternative must be provided that makes it possible to tear-down interrupt sources without an SMP lock. Add RTEMS_INTERRUPT_REPLACE option to Interrupt Manager Extension. This enables a clean tear-down of interrupt sources on SMP configurations. Instead of an interrupt handler removal a replacement handler can be installed to silence an interrupt source. This can be used in contexts that allow no sophisticated synchronization (e.g. in atexit() or fatal handlers).
* bsps: SMP support for generic interrupt supportSebastian Huber2014-03-062-18/+59
|