summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bsp/raspberrypi: Add arm-errata.h and arm-release-id.hRalf Kirchner2014-03-132-0/+10
|
* bsp/lpc32xx: Add arm-errata.h and arm-release-id.hRalf Kirchner2014-03-132-0/+10
|
* bsp/arm: Add arm-errata.h and arm-release-id.hRalf Kirchner2014-03-132-0/+279
|
* bsp/arm: Add linker symbol bsp_processor_countRalf Kirchner2014-03-131-0/+2
|
* bsp/arm: Add CP15 methodsRalf Kirchner2014-03-131-1/+98
|
* bsp/arm: Separate setup for translation tableRalf Kirchner2014-03-131-4/+20
|
* bsp/arm: Invalidate SCURalf Kirchner2014-03-132-1/+25
|
* bsp/arm: SMP support for a9mpcore_clock_cleanup()Ralf Kirchner2014-03-131-4/+18
|
* bsp/arm: Avoid warningRalf Kirchner2014-03-131-0/+1
|
* network: Add help text for ifconfigRalf Kirchner2014-03-131-20/+57
|
* sapi: TyposSebastian Huber2014-03-131-3/+3
|
* bsps/powerpc: Fix GET_INTERRUPT_MASK macroSebastian Huber2014-03-121-1/+2
| | | | | Use _PPC_INTERRUPT_DISABLE_MASK introduced with 801b5d80325dbd3e92218271d54e75f389da7136.
* psxtests/psxkey07: Do not allocate task IDsSebastian Huber2014-03-121-5/+4
|
* psxtests/psxkey07: Limit workspace sizeSebastian Huber2014-03-121-0/+8
| | | | This avoids large test execution times on targets with a big RAM.
* psxtests/psxkey07: Account for RTEMS_TOO_MANYSebastian Huber2014-03-121-2/+3
|
* psxtests/psxkey08: Limit workspace sizeSebastian Huber2014-03-121-3/+9
| | | | This avoids large test execution times on targets with a big RAM.
* psxtests/psxkey08: Do not allocate task IDsSebastian Huber2014-03-121-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | We have a unified work area. So depending on the memory layout the task_id_p = malloc( sizeof( rtems_id ) ); rtems_test_assert( task_id_p ); or the sc = rtems_task_create( rtems_build_name('T','A',created_task_count, ' '), 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES, RTEMS_DEFAULT_ATTRIBUTES, task_id_p ); rtems_test_assert( (sc == RTEMS_UNSATISFIED) || (sc == RTEMS_TOO_MANY) || (sc == RTEMS_SUCCESSFUL) ); may fail. If we are unlucky then we hit the first case and the test fails.
* doc: Improve description of rtems_status_text for ToCJoel Sherrill2014-03-113-7/+6
|
* smp.t: Add Background and Operation SectionsJoel Sherrill2014-03-111-7/+200
|
* Classic API Users Guide: Add SMP and affinity services.Joel Sherrill2014-03-116-9/+181
| | | | This patch adds the initial version of the SMP chapter to the Users Guide.
* POSIX Users Guide: Add thread affinity services.Joel Sherrill2014-03-111-2/+250
|
* stackchk.t task.t: Change can not to cannot for consistencyJoel Sherrill2014-03-112-2/+2
|
* cpright.texi: Update to 2014.Joel Sherrill2014-03-111-1/+1
|
* gen_section: Update for use with new SMP chapters.Joel Sherrill2014-03-111-2/+19
|
* posix: Fix NULL pointer access in pthread_create()Sebastian Huber2014-03-111-2/+2
|
* score: Add function to destroy SMP locksSebastian Huber2014-03-119-7/+78
|
* score: Add local context to SMP lock APISebastian Huber2014-03-1133-329/+480
| | | | | | | | | | | Add a local context structure to the SMP lock API for acquire and release pairs. This context can be used to store the ISR level and profiling information. It may be later used to enable more sophisticated lock algorithms, e.g. MCS locks. There is only one lock that cannot be used with a local context. This is the per-CPU lock since here we would have to transfer the local context through a context switch which is very complicated.
* sapi: Use one SMP lock for all chainsSebastian Huber2014-03-118-145/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This partially reverts commit 1215fd4d9426a59d568560e9a485628560363133. In order to support profiling of SMP locks and provide a future compatible SMP locks API it is necessary to add an SMP lock destroy function. Since the commit above adds an SMP lock to each chain control we would have to add a rtems_chain_destroy() function as well. This complicates the chain usage dramatically. Thus revert the patch above. A global SMP lock for all chains is used to implement the protected chain operations. Advantages: * The SAPI chain API is now identical on SMP and non-SMP configurations. * The size of the chain control is reduced and is then equal to the Score chains. * The protected chain operations work correctly on SMP. Disadvantage: * Applications using many different chains and the protected operations may notice lock contention. The chain control size drop is a huge benefit (SAPI chain controls are 66% larger than the Score chain controls). The only disadvantage is not really a problem since these applications can use specific interrupt locks and unprotected chain operations to avoid this issue.
* printk: Add support for long longSebastian Huber2014-03-113-30/+104
|
* posix: RegenerateSebastian Huber2014-03-111-0/+2
|
* posix: Fix NULL pointer access in pthread_create()Sebastian Huber2014-03-101-1/+1
|
* smptests/smppsxaffinity02: Fix end of test messageSebastian Huber2014-03-101-1/+1
|
* arm: Fix stack alignment in interrupt handlerSebastian Huber2014-03-101-29/+19
| | | | | | According to AAPCS, section 5.2.1.2, "Stack constraints at a public interface" the stack must be 8 byte aligned. This was not the case during interrupt processing.
* bsp/leon3: Use interrupt timestamping counterSebastian Huber2014-03-102-28/+73
| | | | | Use the interrupt controller timestamping counter for the CPU counter if available since it runs with a high frequency.
* bsps/sparc: Add missing IRQMP registersSebastian Huber2014-03-101-3/+13
|
* bsps/sparc: Remove fix for ERC32 with FPU rev. B/CSebastian Huber2014-03-101-66/+0
|
* POSIX keys now enabled in all configurations.Joel Sherrill2014-03-0738-498/+537
| | | | | | | Formerly POSIX keys were only enabled when POSIX threads were enabled. Because they are a truly safe alternative to per-task variables in an SMP system, they are being enabled in all configurations.
* Remove trailing whitespace in previous patchesJennifer Averett2014-03-0724-106/+106
|
* smptests: Add smppsxaffinity02.Jennifer Averett2014-03-076-0/+304
| | | | | | | | This method exercises the ability to dynamically get and set the affinity of POSIX threads. NOTE: There is no scheduler support for affinity. This is simply a data integrity test.
* smptests: Add smppsxaffinity01.Jennifer Averett2014-03-076-0/+232
| | | | | This test exercises the ability to obtain and modify the affinity field of the POSIX thread attributes.
* smptests: Add smpaffinity01Jennifer Averett2014-03-076-0/+307
| | | | This test exercises the new Classic API task affinity methods.
* psxtests: Added test for pthread_getattr_np().Jennifer Averett2014-03-076-1/+261
|
* posix: Add pthread_getattr_np().Jennifer Averett2014-03-072-0/+58
| | | | | This is a useful POSIX thread API helper which is found in `GNU/Linux and *BSD.
* posix: Add dynamic pthread get and set affinity.Jennifer Averett2014-03-073-1/+139
| | | | | | | This patch adds the following methods: + pthread_get_affinity_np + pthread_set_affinity_np
* posix: Add pthread_attr_t methods to get/set affinity.Jennifer Averett2014-03-073-0/+108
| | | | | | | This patch adds the following methods: + pthread_attr_get_affinity_np + pthread_attr_set_affinity_np
* posix: Add support method to compare two pthread attribute structures.Jennifer Averett2014-03-072-0/+95
|
* posix: Add POSIX thread affinity attribute support.Jennifer Averett2014-03-074-16/+129
| | | | | With the addition of pthread affinity information in pthread_attr_t, the existing code for pthread_attr_t had to be adjusted.
* rtems: Add Classic API get and set affinity methods.Jennifer Averett2014-03-074-0/+177
| | | | | | | Add the following methods: + rtems_task_get_affinity + rtems_task_set_affinity
* sapi: Moved smp initialization and added cpuset initilization.Jennifer Averett2014-03-071-2/+5
| | | | | | | SMP must be initialized in order to know the current set of cores available. Without this, you cannot initialize the default cpu_set_t associated with Classic API tasks and POSIX threads.
* score: Add cpuset support to Score.Jennifer Averett2014-03-078-1/+361
| | | | | | This new Score Handler provides a structure to manage a cpu_set_t plus helper routines to validate the contents against the current system configuration.