summaryrefslogtreecommitdiffstats
path: root/cpukit/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libtest: Add T_puts()Sebastian Huber2020-08-181-0/+2
| | | | Update #3199.
* libtest: Change fixture scope methodSebastian Huber2020-08-181-2/+7
| | | | | | | Return the produced character count. There is no need for a NUL termination. Update #3199.
* rtems/printer.h Fix build warnings -Wclass-memaccessAschref Ben Thabet2020-08-171-1/+5
|
* libtest: Add T_thread_switch_record()Sebastian Huber2020-08-111-0/+45
| | | | | | | | Add support to record thread switch events. This can be used to check that a blocking operation results in the expected sequence of thread switches. Update #3199.
* Remove accidentally committed fileSebastian Huber2020-08-061-3736/+0
|
* dev/sc16is752: Fix declarationSebastian Huber2020-08-051-1/+1
|
* termios: Make rtems_termios_ttyMutex privateSebastian Huber2020-08-041-2/+0
| | | | This mutex is used to maintain termios internal data structures.
* score: Use flexible-array member for C99 and laterSebastian Huber2020-08-041-1/+5
| | | | | | | This addresses compiler warnings like this: warning: array subscript 0 is outside the bounds of an interior zero-length array 'abc[0]' [-Wzero-length-bounds]
* dosfs: Fix memory leak on failed mounts.Christian Mauderer2020-08-041-0/+7
| | | | | | | | | | | | | | | | | | | | Currently if mount fails, a converter isn't destroyed. We have to take care of two cases: 1. The user doesn't provide a converter. In this case mounting a dosfs creates a default converter. This patch makes sure that the converter is destroyed again if mount failes for this case. 2. The user provides a converter. In this case it's not sure that the dosfs specific routines are reached because mount can fail before that. Therefore the user has to destroy the converter himself again. This patch adds a documentation for that and implements it in the media server. Closes #4042.
* rtems: Add rtems_interrupt_server_create()Sebastian Huber2020-08-031-14/+129
| | | | | | | | | | | | | | | | | | Add rtems_interrupt_server_destroy(). Before this patch, the only way to create interrupt servers was rtems_interrupt_server_initialize(). This function creates the default interrupt server and in SMP configurations additional interrupt servers for the additional processors. The interrupt server is heavily used by libbsd. This includes the epoch based reclamation which performs time consuming resource and memory deallocation work. This does not work well with time critical services, for example an UART over SPI or I2C. One approach to address this problem is to allow the application to create custom interrupt servers with the right priority and task properties. The interrupt server API accounted for this, however, it was not implemented before this patch. Close #4034.
* score: Add RTEMS_WEAKSebastian Huber2020-07-241-0/+12
| | | | Update #4032.
* libtest: Add T_interrupt_test()Sebastian Huber2020-07-231-0/+30
| | | | Update #3199.
* libtest: Add rtems_test_run()Sebastian Huber2020-07-231-0/+14
| | | | Update #3199.
* libtest: Add quiet assert NULL pointer checksSebastian Huber2020-07-231-0/+4
| | | | Update #3199.
* libtest: Add T_unreachable()Sebastian Huber2020-07-231-0/+3
| | | | Update #3199.
* libtest: Make check message optionalSebastian Huber2020-07-231-35/+72
| | | | | | | This macro magic is in line with C11 and C++11, but limits the maximum count of arguments. Update #3199.
* libtest: Add T_CHECK_FMTSebastian Huber2020-07-231-166/+172
| | | | | | | | | | | | Rename internal function T_check_true() to T_check() and use the new flag T_CHECK_FMT to indicate if a format string is present. This is a preparation step to make the format string optional. Make the check context the first parameter. The API remains the same. Update #3199.
* libtest: Add T_stop()Sebastian Huber2020-07-231-0/+8
| | | | Update #3199.
* libtest: Add T_get_scope()Sebastian Huber2020-07-231-0/+23
| | | | Update #3199.
* libtest: Add push/pop fixture supportSebastian Huber2020-07-231-0/+11
| | | | Update #3199.
* libtest: Support custom scope messages via fixtureSebastian Huber2020-07-231-0/+1
| | | | Update #3199.
* libtest: Add T_make_runner()Sebastian Huber2020-07-231-0/+2
| | | | Update #3199.
* libtest: Add T_get_one_clock_tick_busy()Sebastian Huber2020-07-232-6/+2
| | | | Update #3199.
* libtest: Add T_busy()Sebastian Huber2020-07-232-12/+4
| | | | Update #3199.
* libtest: Move <t.h> to <rtems/test.h>Sebastian Huber2020-07-231-0/+0
| | | | Update #3199.
* libtest: <rtems/test.h> to <rtems/test-info.h>Sebastian Huber2020-07-232-0/+3736
| | | | | | | | Rename this header file to later move <t.h> to <rtems/test.h>. The main feature provided by <rtems/test-info.h> is the output of standard test information which is consumed by the RTEMS Tester. Update #3199.
* score: Improve _Thread_Start() descriptionSebastian Huber2020-07-211-6/+30
|
* media-server: Add ability for retry.Christian Mauderer2020-07-171-0/+3
| | | | | | This adds the possibility to request a retry in the media-listener if an operation failed. Usefull for example if you want to automatically reformat a disk if it wasn't possible to mount it.
* score: Remove deprecated ThreadSebastian Huber2020-07-141-6/+0
| | | | | | This type was deprecated in RTEMS 5.1. Close #3991.
* rtems: Remove deprecated proc_ptr definitionSebastian Huber2020-07-141-7/+0
| | | | Close #3586.
* rtems: Remove support for RTEMS_DEPRECATED_TYPESSebastian Huber2020-07-142-29/+0
| | | | Close #3584.
* rtems: Remove rtems_thread_cpu_usage_tSebastian Huber2020-07-141-8/+0
| | | | | | This type was deprecated in RTEMS 5.1. Close #3594.
* rtems: Remove region_information_blockSebastian Huber2020-07-141-6/+0
| | | | | | This type was deprecated in RTEMS 5.1. Close #3592.
* rtems: Remove rtems_context_fpSebastian Huber2020-07-141-7/+0
| | | | | | This type was deprecated in RTEMS 5.1. Close #3590.
* rtems: Remove rtems_contextSebastian Huber2020-07-141-5/+0
| | | | | | This type was deprecated in RTEMS 5.1. Close #3588.
* rtems: Remove rtems_rate_monotonic_period_time_tSebastian Huber2020-07-141-2/+0
| | | | | | This type was deprecated in RTEMS 5.1. Close #3596.
* rtems: Remove deprecated rtems_extensionSebastian Huber2020-07-142-5/+0
| | | | | | This type was deprecated in RTEMS 5.1. Close #3988.
* rtems: Remove rtems_get_processor_count()Sebastian Huber2020-07-141-15/+0
| | | | | | This function was deprecated in RTEMS 5.1. Close #3990.
* rtems: Remove rtems_get_current_processor()Sebastian Huber2020-07-141-15/+0
| | | | | | This function was deprecated in RTEMS 5.1. Close #3989.
* rtems: Remove deprecated rtems_io_lookup_name()Sebastian Huber2020-07-141-16/+1
| | | | Close #3420.
* rtems: Remove deprecated <rtems/system.h>Sebastian Huber2020-07-142-47/+0
| | | | Close #3980.
* rtems: Remove _Copyright_Notice from API headerSebastian Huber2020-07-141-9/+0
| | | | Close #3981.
* rtems: Remove RTEMS_MAXIMUM_NAME_LENGTHSebastian Huber2020-07-141-4/+0
| | | | Close #3979.
* rtems: Move declartion of _RTEMS_versionSebastian Huber2020-07-142-6/+10
| | | | Close #3978.
* termios: Replace rtems_termios_isig_status_codeSebastian Huber2020-05-071-19/+28
| | | | | | | | | | Merge the rtems_termios_isig_status_code and rtems_termios_iproc_status_code enums into a single rtems_termios_iproc_status_code which is now a part of the API. Simplify rtems_termios_posix_isig_handler() to avoid unreachable code. Close #3800.
* rtems: Deprecate _Copyright_NoticeSebastian Huber2020-05-061-1/+1
| | | | Close #3973.
* rtems: Add rtems_get_copyright_notice()Sebastian Huber2020-05-061-0/+5
| | | | Update #3973.
* rtems: Deprecate <rtems/system.h>Sebastian Huber2020-05-061-0/+4
| | | | Close #3972.
* rtems: Deprecate RTEMS_MAXIMUM_NAME_LENGTHSebastian Huber2020-05-061-2/+3
| | | | | | | | | | | | This define is * not documented, * not used in the RTEMS code base, and * longer than sizeof(rtems_name). Close #3971.
* rtems: Deprecate use of _RTEMS_versionSebastian Huber2020-05-061-5/+4
| | | | Close #3970.