summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* posix_devctl - Add support for SOCKCLOSEJoel Sherrill2020-01-175-3/+53
| | | | | | | | | The FACE Technical Standard, Edition 3.0 and later require the definition of the subcommand SOCKCLOSE in <devctl.h>. Reference: ​https://www.opengroup.org/face closes #3856.
* bsp/raspberrypi: Updated the console API.G S Niteesh2020-01-0710-404/+198
| | | | | | Replaces the legacy termios API with new termios API (#3034) Replaces the custom PL011 serial driver with RTEMS arm-pl011. Update #3034
* bsp/raspberrypi: Enable FDT support.G S Niteesh2020-01-073-0/+17
| | | | This commit adds FDT support to the BSP.
* bsp/raspberrypi: Fix size of work area.Christian Mauderer2020-01-075-189/+80
| | | | | | | | | | The BSP tried to get the size of the SDRAM based on the revision code. Unfortunately the code had some bugs so that the default size has been used. Beneath that the MMU table hasn't been adapted. This patch queries the SDRAM size via a special VC Mailbox call instead. For the MMU adaption a simmilar method to the one in the imx BSP is used.
* bsps/arm: Define index of the workspace entry.Christian Mauderer2020-01-072-5/+6
| | | | | | The imx BSP contained a hack to change the workspace entry of the MMU table. This makes the used define visible for other BSPs too so that the same hack can be used for example in raspberry pi too.
* cpukit/libfs: remove more dead code from pipe/fifo.cGedare Bloom2020-01-031-2/+0
| | | | | Dead code identified by Coverity (CID 1456674). The value of ret at line 358 is always 0.
* bsps/irq: fix resource leak in irq-server.cGedare Bloom2020-01-031-0/+1
| | | | | | Resource leak identified by Coverity (CID 1456675). The value of instances is leaked in case some but not all irq servers are created. It should be stored in bsp_interrupt_server_instances.
* cpukit/libfs: remove dead code from pipe/fifo.cGedare Bloom2020-01-031-2/+0
| | | | | Dead code identified by Coverity (CID 1456678). The value of ret at line 293 is always 0.
* mpci: Fix blocking proxy statusSebastian Huber2020-01-023-24/+4
| | | | | Remove THREAD_STATUS_PROXY_BLOCKING and replace it with STATUS_PROXY_BLOCKING.
* rtems: Fix MPCI initializationSebastian Huber2020-01-0216-158/+77
| | | | Update #2408.
* score: Fix objects node initializationSebastian Huber2020-01-021-0/+1
| | | | | | | The objects node is statically initialized to one. Clear the node field before it is set. Update #3621.
* bsps/powerpc: Fix warningSebastian Huber2020-01-021-3/+1
| | | | Update #3834.
* sppercpudata01: Test PER_CPU_DATA_OFFSET()Sebastian Huber2019-12-201-1/+4
| | | | | Make sure PER_CPU_DATA_OFFSET() is tested also in uniprocessor configurations.
* libtest: Add T_check_task_context() actionSebastian Huber2019-12-206-2/+134
|
* libtest: Use test configuration in T_now()Sebastian Huber2019-12-205-47/+32
| | | | | Use the user provided now handler of the test configuration to get the time in T_now().
* libtest: Fix use of T_check_true()Sebastian Huber2019-12-202-3/+3
|
* bsps/powerpc: Support constructors with prioritySebastian Huber2019-12-196-115/+59
| | | | Close #3339.
* config: Improve EDF SMP scheduler configurationSebastian Huber2019-12-197-12/+15
| | | | | | | | Use CONFIGURE_MAXIMUM_PROCESSORS to configure the EDF SMP scheduler context. This avoids hard to debug configuration errors resulting in memory corruptions. Close #3815.
* libmisc/top: Fix the idle time and priorities on SMPChris Johns2019-12-191-11/+27
| | | | | | | - This patch is based on the patch attached to #3552 submitted by jameszxj. Closes #3552
* bsps/arm: Export bsp_start_hook_0_doneSebastian Huber2019-12-191-5/+8
| | | | Close #3789.
* config: Fix CONFIGURE_MAXIMUM_POSIX_THREADSSebastian Huber2019-12-191-1/+1
| | | | | | Bug was introduced by previous commit. Update #3845.
* config: Remove Ada configuration optionsSebastian Huber2019-12-193-64/+22
| | | | Update #3845.
* config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber2019-12-19116-121/+126
| | | | | | | Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
* config: CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLESebastian Huber2019-12-191-30/+28
| | | | | | Remove CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE. Update #3844.
* libcsupport: Update rtems_print printk handler to return the lengthChris Johns2019-12-161-2/+1
|
* score: Remove _Workspace_Allocate_or_fatal_error()Sebastian Huber2019-12-138-103/+1
| | | | | | This function is unused. Update #3735.
* config: Statically allocate MP object controlsSebastian Huber2019-12-134-21/+16
| | | | Update #3735.
* config: Statically allocate MP thread proxiesSebastian Huber2019-12-134-11/+34
| | | | Update #3735.
* config: Add _MPCI_ConfigurationSebastian Huber2019-12-1314-118/+99
| | | | | | | Replace the user MPCI configuration table with a system provided _MPCI_Configuration. Update #3735.
* rtems: Add and use rtems_object_get_local_node()Sebastian Huber2019-12-1340-92/+95
| | | | Update #3841.
* config: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLESebastian Huber2019-12-131-41/+41
| | | | | | | Obsolete the CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE configuration option. Update #3735.
* config: Add CONFIGURE_IMFS_ENABLE_MKFIFOSebastian Huber2019-12-137-12/+19
| | | | | | | | Obsolete undocumented configuration options CONFIGURE_MAXIMUM_FIFOS and CONFIGURE_MAXIMUM_PIPES. Replace these options with the new CONFIGURE_IMFS_ENABLE_MKFIFO configuration option. Update #3840.
* mptests: Fix configurationSebastian Huber2019-12-135-7/+7
| | | | Update #3818.
* states*.h: Fix naming inconsistency and formattingJoel Sherrill2019-12-112-2/+1
|
* Add TOD Hooks to allow BSP to take action when TOD is setJoel Sherrill2019-12-1115-8/+764
| | | | | | | | | | | | Two use cases were envisioned for this. 1) a BSP or application which desires to update a real-time clock when the RTEMS TOD is set. 2) a paravirtualized BSP can use this to propagate setting the time in an RTEMS application to the hosting environment. This enables the entire set of applications in the virtualized environments to have a single consistent TOD.
* pipe: Use condition variablesSebastian Huber2019-12-115-140/+28
| | | | | | | Use self-contained condition variables instead of Classic API barriers. This simplifies the implementation and configuration. Update #3840.
* Support pasring - in a version stringChris Johns2019-12-121-1/+1
| | | | Closes #3839
* mpci: Simplify MPCI configurationSebastian Huber2019-12-113-27/+28
| | | | Use watchdog for shared memory driver instead of a Classic API Timer.
* rtems: Simplify semaphore configurationSebastian Huber2019-12-119-37/+36
| | | | | | | | | | | | | | | The MrsP semaphore implementation predates the addition of self-contained synchronization objects. At this time, the potential memory reduction was justified considering the more complex configuration and additional use of the workspace. With the availability of self-contained synchronization options, e.g. POSIX mutexes, this is no longer justified. Memory constrained applications should use the self-contained synchronization objects. Remove the CONFIGURE_MAXIMUM_MRSP_SEMAPHORES configuration option. This has only an impact on applications which use SMP and a large number of scheduler instances. Update #3833.
* rtems: Optimize semaphore control blockSebastian Huber2019-12-119-76/+163
| | | | | | | Move variant, discipline, and global information to flags stored in a node pointer of active semaphores. Update #3833.
* score: Optimize _TLS_Get_size()Sebastian Huber2019-12-111-4/+9
|
* clock: Simplify driver initializationSebastian Huber2019-12-1123-208/+57
| | | | | | Use a system initialization handler instead of a legacy IO driver. Update #3834.
* clock: Remove Clock_exit() from APISebastian Huber2019-12-1117-40/+16
| | | | | | | This function is no longer supported by the standard clock driver implementation (clockimpl.h). Update #3436.
* score: Optimize _Per_CPU_Get_index()Sebastian Huber2019-12-101-0/+5
| | | | Optimize _Per_CPU_Get_index() in uniprocessor configurations.
* userext: Fix configurationSebastian Huber2019-12-091-1/+0
|
* userext: Simplify configurationSebastian Huber2019-12-095-42/+42
| | | | | Avoid the use of the workspace and use statically allocated switch controls for the initial extensions.
* bsp/xen: Use BSP options for all linkcmds varsSebastian Huber2019-12-052-12/+17
| | | | Update #3818.
* bsp/xen: Create BSPJeff Kubascik2019-12-0514-0/+630
| | | | Create the Xen BSP for Xen on ARM.
* bsps/arm: Unmask generic timer in interrupt handlerJeff Kubascik2019-12-051-0/+3
| | | | | Xen will mask the virtual timer before injecting the interrupt to the guest.
* bsps/arm: Add zImage boot headerJeff Kubascik2019-12-051-0/+11
| | | | | Xen currently only supports the zImage loader for 32 bit guests on ARM targets.