summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Add and use _Objects_Put()Sebastian Huber2013-06-071-1/+1
| | | | | | Add and use _Objects_Put_without_thread_dispatch(). These two functions pair with the _Objects_Get() function. This helps to introduce object specific SMP locks to avoid lock contention.
* score: Remove idle field of Per_CPU_ControlSebastian Huber2013-05-312-4/+3
| | | | | | This field is unused except for special case simulator clock drivers. In these places use an alternative. Add and use _Thread_Set_global_exit_status() and _Thread_Get_global_exit_status().
* smp: Move secondary CPU initialization requestSebastian Huber2013-05-291-0/+4
| | | | | Do not assume that the scheduler selects the main processor for the initialization thread.
* smp: Simplify main CPU initializationSebastian Huber2013-05-291-9/+1
| | | | | | Call _SMP_Handler_initialize() later and move bsp_smp_initialize() into _SMP_Handler_initialize(). Change bsp_smp_initialize() prototype to match integer types of calling context.
* smp: Add maximum_processors field to configSebastian Huber2013-05-163-11/+23
| | | | | | | Delete rtems_configuration_get_smp_maximum_processors(). Delete rtems_configuration_smp_maximum_processors variable. Add maximum_processors field to rtems_configuration_table if RTEMS_SMP is defined. Add rtems_configuration_get_maximum_processors().
* libcsupport: Delete libc_wrapup()Sebastian Huber2013-04-261-0/+7
| | | | | | | Add and use rtems_libio_exit_helper. Add rtems_libio_exit(). The fclose(stdin) etc. makes no sense during exit. This would use the _REENT structure of the thread calling _exit().
* libcsupport: Rename open_dev_console()Sebastian Huber2013-04-261-2/+2
| | | | | Rename open_dev_console() to rtems_libio_post_driver(). Rename rtems_libio_supp_helper to rtems_libio_post_driver_helper.
* libcsupport: Make LibIO helper constSebastian Huber2013-04-261-15/+15
| | | | | Add and use rtems_libio_helper function type. Add and use rtems_libio_helper_null() instead of NULL pointer.
* sapi: Fix warningsSebastian Huber2013-04-231-3/+2
|
* sapi: Fix unified workspace optionSebastian Huber2013-04-111-4/+0
|
* confdefs.h: Only one clock or timer configuration parameter can be definedJoel Sherrill2013-04-091-21/+31
| | | | | | | | | | | Only one of the following can be defined. + CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER + CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER Otherwise it is a configuration error which can be detected at compilation time.
* confdefs.h: Eliminate BSP_DEFAULT_UNIFIED_WORK_AREASJoel Sherrill2013-04-091-6/+4
| | | | | This was not used by any BSP and obsolete now that unified memory is an option for all BSPs.
* Fixed 2 compiler warningsAndreas Heinig2013-03-191-1/+1
|
* sapi: PR1911: Add CONFIGURE_DISABLE_BSP_SETTINGSSebastian Huber2013-02-121-0/+14
|
* score: Add and use rtems_assert_contextSebastian Huber2013-02-121-0/+10
|
* cpukit: Fix many Doxygen warningsJoel Sherrill2013-01-101-9/+8
|
* cpukit: Use Consistent Beginning of Doxygen Group NotationJoel Sherrill2013-01-106-15/+8
| | | | | This is the result of a sed script which converts all uses of @{ into a consistent form.
* cpukit: Doxygen group fixes and many warnings addressedJoel Sherrill2013-01-101-4/+3
| | | | | | | The output of the modules.html is much improved. Most filesystem and POSIX API related groups are properly nested. Some formatting issues were addressed as were multiple inconsistencies.
* sapi: DocumentationSebastian Huber2013-01-091-15/+16
|
* sapi: Doxygen Clean Up Task #1Alex Ivanov2013-01-0818-770/+791
|
* sapi: Add rtems_fatal_source_description()Sebastian Huber2013-01-073-1/+64
|
* score: Add const qualifierSebastian Huber2013-01-021-4/+4
|
* Header File Doxygen Enhancement Task #1Alex Ivanov2012-12-282-8/+4
|
* Header File Doxygen Enhancement Task #7Mathew Kallada2012-12-282-0/+5
|
* Header File Doxygen Enhancement Task #2Mathew Kallada2012-12-283-22/+30
|
* score: Add rtems_chain_node_count_unprotected()Sebastian Huber2012-12-211-0/+17
|
* libfs: Doxygen Enhancement Task #2Alex Ivanov2012-12-181-1/+6
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/8032207
* misc: Header File Doxygen Enhancement Task #3Mathew Kallada2012-12-121-2/+2
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/8006220
* sapi: Fix previous commitSebastian Huber2012-12-091-23/+1
|
* sapi: Revert documentation changeSebastian Huber2012-12-091-4/+8
|
* sapi misc: Clean up Doxygen GCI task #1Christopher Kerl2012-12-0724-216/+265
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/8011204
* score: rtems_initialize_start_multitasking()Sebastian Huber2012-12-072-9/+18
| | | | | | | | | Do not return from rtems_initialize_start_multitasking() and call rtems_fatal() instead with a fatal source of RTEMS_FATAL_SOURCE_EXIT and a fatal code with the exit status. Remove all bsp_cleanup() functions. The boot_card() is now a no return function.
* posix: Add and use <rtems/posix/psignalimpl.h>Sebastian Huber2012-12-051-0/+1
| | | | | This file contains the parts of <rtems/posix/psignal.h> that are only necessary for the POSIX API implementation.
* score: Add CPU_Exception_frameSebastian Huber2012-11-271-0/+17
| | | | | | | | | | | | | | | | | | | | | Add CPU port type CPU_Exception_frame and function _CPU_Exception_frame_print(). The CPU ports of avr, bfin, h8300, lm32, m32c, m32r, m68k, nios2, sh, sparc64, and v850 use an empty default implementation of _CPU_Exception_frame_print(). Add rtems_exception_frame and rtems_exception_frame_print(). Add RTEMS_FATAL_SOURCE_EXCEPTION for CPU exceptions. Use rtems_fatal() with source RTEMS_FATAL_SOURCE_EXCEPTION in CPU ports of i386, powerpc, and sparc for unexpected exceptions. Add third parameter to RTEMS_BSP_CLEANUP_OPTIONS() which controls the BSP_PRINT_EXCEPTION_CONTEXT define used in the default bsp_fatal_extension(). Add test sptests/spfatal26.
* score: Add and use <rtems/score/userextimpl.h>Sebastian Huber2012-11-222-1/+2
| | | | | This file contains the parts of <rtems/score/userext.h> that are only necessary for the RTEMS implementation.
* score: Add rtems_fatal()Sebastian Huber2012-11-153-14/+66
|
* score: Add INTERNAL_ERROR_CPU_ISR_INSTALL_VECTORSebastian Huber2012-11-151-1/+2
| | | | | Use INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR on PowerPC for _CPU_ISR_install_vector().
* sapi: Add and use rtems_internal_error_descriptionSebastian Huber2012-11-153-1/+70
|
* sapi: Add rtems_fatal_source and rtems_fatal_codeSebastian Huber2012-11-151-0/+4
|
* sapi: Add BSP_INITIAL_EXTENSION to confdefs.hSebastian Huber2012-11-131-1/+5
| | | | | | A BSP can supply an initial extension via the new optional BSP_INITIAL_EXTENSION define. It will be the last in the initial extension table.
* score: Statically initialize user extensionsSebastian Huber2012-11-131-5/+5
| | | | | | | | | The initial extensions remain now in a read-only table and will not be copied to work space memory. The extension chains are statically initialized. This makes it possible to call _User_extensions_Iterate() independent of the system state. It is now guaranteed that the fatal callout of the initial extensions will be called provided the stack pointer, the read-only data, and code memory are valid.
* score: Add and use RTEMS_ARRAY_SIZE()Sebastian Huber2012-11-131-6/+4
|
* sapi: Make initial user extensions table read-onlySebastian Huber2012-11-072-2/+2
|
* sapi: Fix user scheduler configurationSebastian Huber2012-11-071-13/+0
| | | | | | | | | | The comment in confdefs.h shows how to do it: An application can define its own scheduling policy by defining CONFIGURE_SCHEDULER_USER and the following: - CONFIGURE_SCHEDULER_ENTRY_POINTS - CONFIGURE_MEMORY_FOR_SCHEDULER - base memory - CONFIGURE_MEMORY_PER_TASK_FOR_SCHEDULER - per task memory
* sapi: Make Configuration read-onlySebastian Huber2012-11-072-2/+2
| | | | | The Configuration is now read-only and must be statically initialized via confdefs.h or similar.
* sapi: Delete duplicate declarationsSebastian Huber2012-11-072-7/+0
|
* sapi: Delete unused macrosSebastian Huber2012-11-071-15/+0
| | | | | | | Delete rtems_configuration_get_table(), rtems_configuration_set_stack_space_size(), rtems_configuration_set_work_space_size(), and rtems_configuration_set_microseconds_per_tick().
* sapi: Use rtems_*_get_user_multiprocessing_tableSebastian Huber2012-11-071-1/+1
|
* sapi: Use rtems_config*_get_maximum_extensionsSebastian Huber2012-11-071-1/+1
|
* sapi: Use rtems_config*_get_device_driver_tableSebastian Huber2012-11-071-1/+1
|