summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtems: Add task get/set schedulerSebastian Huber2014-04-151-0/+35
|
* rtems: Add scheduler get processorsSebastian Huber2014-04-151-0/+24
|
* rtems: Add scheduler identificationSebastian Huber2014-04-151-0/+17
|
* score: Task get/set affinitySebastian Huber2014-04-151-24/+26
| | | | | Make rtems_task_get_affinity() and rtems_task_set_affinity() available on non-SMP configurations. Allow larger CPU sets.
* score: Simplify thread control initializationSebastian Huber2014-04-151-1/+1
| | | | | | | | | | | The thread control block contains fields that point to application configuration dependent memory areas, like the scheduler information, the API control blocks, the user extension context table, the RTEMS notepads and the Newlib re-entrancy support. Account for these areas in the configuration and avoid extra workspace allocations for these areas. This helps also to avoid heap fragementation and reduces the per thread memory due to a reduced heap allocation overhead.
* rtems: Rename rtems_smp_get_current_processor()Sebastian Huber2014-04-111-6/+4
| | | | | | | Rename rtems_smp_get_current_processor() in rtems_get_current_processor(). Make rtems_get_current_processor() a function in uni-processor configurations to enable ABI compatibility with SMP configurations.
* rtems: Rename rtems_smp_get_processor_count()Sebastian Huber2014-04-111-4/+2
| | | | | | Rename rtems_smp_get_processor_count() in rtems_get_processor_count(). Make rtems_get_processor_count() a function in uni-processor configurations to enable ABI compatibility with SMP configurations.
* Disable per task variables when SMP is enabledJoel Sherrill2014-04-042-6/+12
| | | | | | Per task variables are inherently unsafe in SMP systems. This patch disables them from the build and adds warnings in the appropriate documentation and configuration sections.
* score: PR2152: Use allocator mutex for objectsSebastian Huber2014-03-312-18/+11
| | | | | Use allocator mutex for objects allocate/free. This prevents that the thread dispatch latency depends on the workspace/heap fragmentation.
* score: Thread life cycle re-implementationSebastian Huber2014-03-311-0/+3
| | | | | | | | | | | | | | | | | | | The thread deletion is now supported on SMP. This change fixes the following PRs: PR1814: SMP race condition between stack free and dispatch PR2035: psxcancel reveals NULL pointer access in _Thread_queue_Extract() The POSIX cleanup handler are now called in the right context (should be called in the context of the terminating thread). http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_09.html Add a user extension the reflects a thread termination event. This is used to reclaim the Newlib reentrancy structure (may use file operations), the POSIX cleanup handlers and the POSIX key destructors.
* rtems: Use thread action for signalsSebastian Huber2014-03-312-0/+14
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-2151-51/+51
|
* score: Add SMP lock profiling supportSebastian Huber2014-03-142-4/+6
|
* score: Add function to destroy SMP locksSebastian Huber2014-03-111-0/+10
|
* score: Add local context to SMP lock APISebastian Huber2014-03-112-19/+30
| | | | | | | | | | | 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.
* Remove trailing whitespace in previous patchesJennifer Averett2014-03-071-11/+11
|
* rtems: Add Classic API get and set affinity methods.Jennifer Averett2014-03-071-0/+45
| | | | | | | Add the following methods: + rtems_task_get_affinity + rtems_task_set_affinity
* rtems: Add cache size functionsSebastian Huber2014-02-281-0/+20
| | | | | Add rtems_cache_get_data_cache_size() and rtems_cache_get_instruction_cache_size().
* rtems: Use size_t for cache line sizeSebastian Huber2014-02-281-2/+2
| | | | A cache line cannot have a negative size.
* rtems: Cache manager documentationSebastian Huber2014-02-281-66/+79
| | | | Move useful functions to the top of the file.
* score: Change debug helper functionsSebastian Huber2014-02-121-4/+6
| | | | | | | | Rename rtems_internal_error_description() to rtems_internal_error_text(). Rename rtems_fatal_source_description() to rtems_fatal_source_text(). Rename rtems_status_code_description() to rtems_status_text(). Remove previous implementation of rtems_status_text().
* rtems: Add rtems_status_code_description()Sebastian Huber2014-02-061-0/+10
|
* libcsupport: Refactor rtems_deviceio_errnoDaniel Ramirez2014-01-081-0/+24
| | | | | | Renames rtems_deviceio_errno to rtems_status_code_to_errno and integrates it into the Classic API Status Handler. This function can now be called by including status.h
* cpukit/rtems: Add rtems_clock_get_uptime_nanoseconds to the RTEMS API.Chris Johns2013-12-241-0/+7
| | | | | | Add Timestamp support in the score to return a timestamp in nanoseconds. Add a test. Update the RTEMS API documentation.
* rtems: classic api to/from core priority conversionsDaniel Ramirez2013-12-211-0/+12
|
* cpukit/rtems: Remove XXX in commentsJoel Sherrill2013-12-0919-53/+68
|
* rtems: Add SMP support for signalsSebastian Huber2013-08-272-18/+37
| | | | | | Add and use _ASR_Get_posted_signals(). The post-switch handler is not protected by disabled thread dispatching. Use proper SMP lock for signal management.
* rtems: Include missing header fileSebastian Huber2013-08-141-0/+1
|
* score: Move nanoseconds since last tick supportSebastian Huber2013-08-011-1/+2
| | | | | | Move the nanoseconds since last tick support from the Watchdog to the TOD handler. Now the TOD managment is encapsulated in the TOD_Control structure.
* score: ISR lock API changesSebastian Huber2013-08-011-20/+6
|
* score: Add and use ISR locksSebastian Huber2013-07-311-48/+31
| | | | | | | | | | | | ISR locks are low-level locks to protect critical sections accessed by threads and interrupt service routines. On single processor configurations the ISR locks degrade to simple ISR disable/enable sequences. No additional storage or objects are required. This synchronization primitive is supported on SMP configurations. Here SMP locks are used.
* score: Merge tod implementation into one fileSebastian Huber2013-07-263-5/+3
| | | | | Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
* score: Create object implementation headerSebastian Huber2013-07-268-0/+9
| | | | | | Move implementation specific parts of object.h and object.inl into new header file objectimpl.h. The object.h contains now only the application visible API.
* score: Create mpci implementation headerSebastian Huber2013-07-268-45/+20
| | | | | Move implementation specific parts of mpci.h into new header file mpciimpl.h. The mpci.h contains now only the application visible API.
* rtems: Create signal implementation headerSebastian Huber2013-07-263-32/+69
| | | | | | Move implementation specific parts of signal.h into new header file signalimpl.h. The signal.h contains now only the application visible API.
* rtems: Use proper header guardSebastian Huber2013-07-261-2/+2
|
* score: Create threadq implementation headerSebastian Huber2013-07-261-1/+1
| | | | | | | | Move implementation specific parts of tqdata.h, threadq.h and threadq.inl into new header file threadqimpl.h. The threadq.h contains now only the application visible API. Delete tqdata.h.
* score: Create states implementation headerSebastian Huber2013-07-261-1/+0
| | | | | | Move implementation specific parts of states.h and states.inl into new header file statesimpl.h. The states.h contains now only the application visible API.
* score: Create heap implementation headerSebastian Huber2013-07-231-0/+1
| | | | | | Move implementation specific parts of heap.h and heap.inl into new header file heapimpl.h. The heap.h contains now only the application visible API.
* rtems: Include missing headerSebastian Huber2013-07-231-1/+2
|
* rtems: Create tasks implementation headerSebastian Huber2013-07-233-83/+178
| | | | | | Move implementation specific parts of tasks.h and tasks.inl into new header file tasksimpl.h. The tasks.h contains now only the application visible API.
* rtems: Create region implementation headerSebastian Huber2013-07-233-82/+200
| | | | | | Move implementation specific parts of region.h and region.inl into new header file regionimpl.h. The region.h contains now only the application visible API.
* rtems: Create part implementation headerSebastian Huber2013-07-233-42/+224
| | | | | | Move implementation specific parts of part.h and part.inl into new header file partimpl.h. The part.h contains now only the application visible API.
* rtems: Create timer implementation headerSebastian Huber2013-07-232-115/+242
| | | | | | Move implementation specific parts of timer.h and timer.inl into new header file timerimpl.h. The timer.h contains now only the application visible API.
* rtems: Create ratemon implementation headerSebastian Huber2013-07-232-158/+288
| | | | | | Move implementation specific parts of ratemon.h and ratemon.inl into new header file ratemonimpl.h. The ratemon.h contains now only the application visible API.
* rtems: Create dpmem implementation headerSebastian Huber2013-07-232-31/+122
| | | | | | Move implementation specific parts of dpmem.h and dpmem.inl into new header file dpmemimpl.h. The dpmem.h contains now only the application visible API.
* rtems: Create event implementation headerSebastian Huber2013-07-234-238/+277
| | | | | | Move implementation specific parts of event.h, event.inl, eventset.h and eventset.inl into new header file eventimpl.h. The event.h contains now only the application visible API.
* rtems: Merge support API into one fileSebastian Huber2013-07-231-8/+30
|
* rtems: Create asr implementation headerSebastian Huber2013-07-232-5/+127
| | | | | | Move implementation specific parts of asr.h and asr.inl into new header file asrimpl.h. The asr.h contains now only the application visible API.
* rtems: Create modes implementation headerSebastian Huber2013-07-232-11/+153
| | | | | | Move implementation specific parts of modes.h and modes.inl into new header file modesimpl.h. The modes.h contains now only the application visible API.