summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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: Use Consistent Beginning of Doxygen Group NotationJoel Sherrill2013-01-104-11/+6
| | | | | 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-0813-382/+388
|
* sapi: Add rtems_fatal_source_description()Sebastian Huber2013-01-071-0/+10
|
* 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
|
* 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-074-17/+114
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/8011204
* score: rtems_initialize_start_multitasking()Sebastian Huber2012-12-071-7/+13
| | | | | | | | | 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 rtems_fatal()Sebastian Huber2012-11-151-13/+37
|
* sapi: Add and use rtems_internal_error_descriptionSebastian Huber2012-11-151-0/+11
|
* 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_configuration_get_maximum_driversSebastian Huber2012-11-071-0/+3
|
* score: Work area initialization API changeSebastian Huber2012-10-252-15/+4
| | | | | | | | | | | | The work areas (RTEMS work space and C program heap) will be initialized now in a separate step and are no longer part of rtems_initialize_data_structures(). Initialization is performed with tables of Heap_Area entries. This allows usage of scattered memory areas present on various small scale micro-controllers. The sbrk() support API changes also. The bsp_sbrk_init() must now deal with a minimum size for the first memory chunk to take the configured work space size into account.
* Cleanup Krzysztof's copyright notices.Ralf Corsépius2012-10-111-3/+2
|
* timespec helpers: Add wrappers with new testKrzysztof Mięsowicz2012-08-291-0/+53
|
* sapi: Add nanoseconds_per_tick to configurationSebastian Huber2012-06-142-1/+15
| | | | | | Add nanoseconds_per_tick to rtems_configuration_table. This value will be derived from the microseconds_per_tick value. This avoids some calculations at run-time.
* libblock: Add read-ahead taskSebastian Huber2012-06-041-2/+9
| | | | | | | | | | | Read-ahead requests were previously executed in the context of the reading task. This blocks the reading task until the complete read with read-ahead transfer is finished. A read-ahead task is introduced to off-load the read-ahead transfer. This allows the reading task to work with the requested block more quickly. The read-ahead is triggered after two misses of ascending consecutive blocks or a read hit of a block read by the most-recent read-ahead transfer. The read-ahead feature is configurable and can be disabled.
* libblock: Add task stack size bdbuf configurationSebastian Huber2012-05-311-3/+21
| | | | | | The task stack size for the swap-out and worker tasks is now configurable. The bdbuf task resources are now included in the work space size estimate.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-1112-26/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* Filesystem: Remove per file descriptor semaphoreSebastian Huber2012-05-041-4/+2
| | | | | | | | | The per file descriptor semaphore (field of rtems_libio_t) is unused in RTEMS. There is a considerable memory overhead due to that. A semaphore needs roughly 124 bytes which is huge compared to the approximately 72 bytes for the file descriptor structure itself. Device drivers can create their own synchronization primitives in the open handler on demand.
* rbheap: API changes and documentationSebastian Huber2012-04-181-24/+163
|
* rbtree: PR2046: Replace rtems_rbtree_uniqueSebastian Huber2012-04-131-14/+0
|
* score: New macros and functionsSebastian Huber2012-04-112-1/+7
| | | | | | | | | | New macros o _Objects_Maximum_per_allocation(), o rtems_resource_is_unlimited(), and o rtems_resource_maximum_per_allocation(). New function o _Objects_Is_unlimited().
* rbheap: New filesSebastian Huber2012-04-111-0/+130
| | | | | | | In the Red-Black Tree Heap the administration data structures are not contained in the managed memory area. This can be used for example in a task stack allocator which protects the task stacks from access by other tasks.
* confdefs: Add declaration for unlimited objects.Gedare Bloom2012-03-271-1/+107
| | | | | | | | | Adds to confdefs a way to specify rtems_resource_unlimited for classic and posix objects using a new macro CONFIGURE_OBJECTS_UNLIMITED. Use CONFIGURE_OBJECTS_ALLOCATION_SIZE to declare the allocation size for extending the set of objects at runtime. Updates the unlimited sample to demonstrate how to use the new macros. Also adds new documentation in the C User's Manual regarding configuring with unlimited objects.
* Filesystem: Reference counting for locationsSebastian Huber2012-03-131-19/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o A new data structure rtems_filesystem_global_location_t was introduced to be used for o the mount point location in the mount table entry, o the file system root location in the mount table entry, o the root directory location in the user environment, and o the current directory location in the user environment. During the path evaluation global start locations are obtained to ensure that the current file system instance will be not unmounted in the meantime. o The user environment uses now reference counting and is protected from concurrent access. o The path evaluation process was completely rewritten and simplified. The IMFS, RFS, NFS, and DOSFS use now a generic path evaluation method. Recursive calls in the path evaluation have been replaced with iteration to avoid stack overflows. Only the evaluation of symbolic links is recursive. No dynamic memory allocations and intermediate buffers are used in the high level path evaluation. No global locks are held during the file system instance specific path evaluation process. o Recursive symbolic link evaluation is now limited by RTEMS_FILESYSTEM_SYMLOOP_MAX. Applications can retrieve this value via sysconf(). o The device file system (devFS) uses now no global variables and allocation from the workspace. Node names are allocated from the heap. o The upper layer lseek() performs now some parameter checks. o The upper layer ftruncate() performs now some parameter checks. o unmask() is now restricted to the RWX flags and protected from concurrent access. o The fchmod_h and rmnod_h file system node handlers are now a file system operation. o The unlink_h operation has been removed. All nodes are now destroyed with the rmnod_h operation. o New lock_h, unlock_h, clonenod_h, and are_nodes_equal_h file system operations. o The path evaluation and file system operations are now protected by per file system instance lock and unlock operations. o Fix and test file descriptor duplicate in fcntl(). o New test fstests/fsnofs01.
* 2012-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsépius2012-02-221-0/+1
| | | | | * sapi/include/confdefs.h: Add decl of configuration_mount_table (Fix c++ mangling).
* 2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-142-19/+72
| | | | | | | | | | | | PR 1924/cpukit * sapi/include/rtems/config.h: Added stack_allocate_init_hook to rtems_configuration_table. * sapi/include/confdefs.h: Added CONFIGURE_TASK_STACK_FROM_ALLOCATOR and CONFIGURE_TASK_STACK_ALLOCATOR_INIT defines. Set default stack allocator and free hook to _Workspace_Allocate() and _Workspace_Free() respectively. * score/src/thread.c, score/src/threadstackallocate.c, score/src/threadstackfree.c: Update due to API changes.
* 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-131-12/+16
| | | | * sapi/include/confdefs.h: Fixed workspace size estimate of tasks.
* 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-131-7/+5
| | | | | * sapi/include/confdefs.h: Fixed workspace size estimate of POSIX keys and message queues.
* 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-051-2/+0
| | | | | | | | | | * posix/include/rtems/posix/pthread.h: Add _POSIX_Threads_Initialize_user_threads_body. * rtems/include/rtems/rtems/tasks.h: Add _RTEMS_tasks_Initialize_user_tasks_body. * sapi/include/confdefs.h: Remove conditional, nested redeclaration of _POSIX_Threads_Initialize_user_threads_body, _RTEMS_tasks_Initialize_user_tasks_body.
* 2011-11-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett2011-11-181-2/+12
| | | | | * sapi/include/confdefs.h: Added a bsp override option for MAXIMUM_DEVICES.