summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smplock01 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* tests/smptests: Use <rtems/test.h>Sebastian Huber2014-03-171-3/+6
|
* score: Add SMP lock profiling supportSebastian Huber2014-03-141-3/+3
|
* score: Add function to destroy SMP locksSebastian Huber2014-03-111-2/+10
|
* score: Add local context to SMP lock APISebastian Huber2014-03-111-10/+15
| | | | | | | | | | | 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.
* score: Add SMP barrierSebastian Huber2014-02-171-52/+14
|
* smptests/smplock01: Use atomic operationsSebastian Huber2014-02-171-57/+41
|
* smp: Add and use _CPU_SMP_Get_current_processor()Sebastian Huber2013-07-171-6/+6
| | | | | | | | | | Add and use _SMP_Get_current_processor() and rtems_smp_get_current_processor(). Delete bsp_smp_interrupt_cpu(). Change type of current processor index from int to uint32_t to match _SMP_Processor_count type.
* score: Rename rtems_smp_get_number_of_processors()Sebastian Huber2013-06-141-2/+2
| | | | | | | | | Rename in rtems_smp_get_processor_count(). Always provide <rtems/score/smp.h> and <rtems/rtems/smp.h>. Add _SMP_Get_processor_count(). This function will be a compile time constant defined to be one on uni-processor configurations. This allows iterations over all processors without overhead on uni-processor configurations.
* smptests/smplock01: New testSebastian Huber2013-05-314-0/+461