summaryrefslogtreecommitdiffstats
path: root/cpukit (unfollow)
Commit message (Collapse)AuthorFilesLines
8 daysdoxygen: Fix constraintsSebastian Huber1-2/+3
Somehow the constraints for CONFIGURE_TICKS_PER_TIMESLICE and CONFIGURE_EXTRA_MPCI_RECEIVE_SERVER_STACK got mixed up. Update #4986.
2024-04-09score: Improve C/C++ standard compatibilitySebastian Huber4-380/+440
The processor mask implementation uses flsl() from <strings.h> which is only BSD visible. Move the implementation to a separate header file to hide it from the API level. This fixes build errors with GCC 14.
2024-03-23rtems: Avoid -Wundef warnings in API headerSebastian Huber1-6/+6
2024-03-22Mark parameters as intentionally unusedSebastian Huber7-0/+10
The parameters are unused due to API constraints. The functions are used through function pointers. Alternative implementations may use the parameters. Update #4862.
2024-03-20Do not define CONFIGURE_TICKS_PER_TIMESLICE to 0Sebastian Huber2-3/+2
Unconditionally make a CONFIGURE_TICKS_PER_TIMESLICE value less than or equal to zero an error. Update #4986.
2024-03-20score: Include missing header fileSebastian Huber1-0/+2
This fixes: heap.c:268:3: warning: implicit declaration of function 'memset'
2024-03-20arm: Move _CPU_ISR_install_vector()Sebastian Huber2-27/+76
The use of this function is optional. Newer BSPs do not use it.
2024-03-18cpukit: Gate ticks per timeslice configKinsey Moore1-1/+3
Gate CONFIGURE_TICKS_PER_TIMESLICE appropriately behind CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER.
2024-03-14cpukit/jffs2: Properly commit JFFS2 dataKinsey Moore1-0/+4
When unmounting a JFFS2 filesystem, any outstanding write buffers must be flushed to disk. In some circumstances, these write buffers are instantiated by a garbage collection pass and as such no inode number is associated with it. Due to the way that JFFS2 processes these garbage collection passes, a write buffer without any associated inodes will not be flushed unless it is forced with jffs2_flush_wbuf_pad().
2024-03-14Ensure ticks per timeslice is greater than zeroZack leung2-2/+5
2024-03-01cpukit/libtest: Remove unused variableKinsey Moore1-1/+0
This unused variable causes a warning. It is never set or used.
2024-02-27powerpc: Use RTEMS_XCONCAT()Sebastian Huber1-6/+4
Prefer macros with a proper namespace.
2024-02-26cpukit/jffs2: Handle used empty file systemKinsey Moore2-0/+27
On JFFS2 file systems on NOR flash or dataflash that does not have spare area for metadata and thus does not invoke delayed writes, it is possible to put the file system into a state where all blocks have been written to and all files have been deleted from the filesystem. There is a bug in the JFFS2 file system scan routine that detects this situation as a corrupted file system since the scan routine relies on "used" space to discriminate a valid file system when there are blocks that need to be erased. The correct fix would require a partial rewrite of the scan routine, so instead this patch tracks the space marked as obsolete along with space at the end of each block that is otherwise too small to contain a JFFS2 node so that it can me compared with the dirty space. Corrupted data (or otherwise non-JFFS2 blocks) will still cause this check to fail as corrupted data isn't recognized as obsoleted (deleted) nodes.
2024-02-22libtest: Improve gcov info dumpSebastian Huber2-4/+6
Make sure there is no spurious empty line between the gcov info and the *** END OF GCOV INFO BASE64 *** line. This helps to recalculate the hash correctly at the consumer side.
2024-02-16doxygen: Fix link formatSebastian Huber1-1/+1
2024-02-16crc: Add a CRC-24Q implementationSebastian Huber2-0/+254
2024-02-16base64: Add decoderMatthew Joyce2-0/+228
2024-02-16base64: Make base64 encoding tables publicSebastian Huber2-7/+27
This makes them reusable. Change the character type to uint8_t.
2024-02-16base64: Move base64 encoding supportSebastian Huber8-99/+167
2024-02-14i386: Restore SMP functionalityKinsey Moore2-0/+7
When the switch to waf occurred, the SMP support in i386 was left out causing it to accumulate a minor amount of cruft. This enables SMP for the i386 BSPs that support it and updates them for the API drift that has occurred since the change.
2024-01-31cpukit/libblock: Ignore sync status prior to purgeKinsey Moore2-2/+2
2024-01-31cpukit/libblock: Ignore error notify return valueKinsey Moore1-1/+1
This is already in the error path.
2024-01-29cpukit/libblock: Ignore return value on error pathKinsey Moore1-1/+1
2024-01-26cpukit/cache: Report coherent add area failuresKinsey Moore2-13/+24
This alters the API for rtems_cache_coherent_add_area to allow reporting of failures that can occur during the process of adding a new area to the coherent cache heap.
2024-01-22cpukit/dosfs: Simplify expressions where possibleKinsey Moore1-3/+3
2024-01-22cpukit/libmisc: Cast getpid() before shiftingKinsey Moore1-0/+5
Cast getpid() before shifting to avoid truncation of upper bits before the 64bit XOR occurs.
2024-01-22cpukit/libmisc/uuid: Check for invalid FDKinsey Moore1-0/+6
2024-01-22cpukit/dosfs: Don't leak a FAT FDKinsey Moore1-7/+7
The tmp_fat_fd variable is unconditionally opened in the branch where it is used within the loop and so must be closed or else risk a resource leak.
2024-01-17cpukit/score: Avoid overflow in multiplicationKinsey Moore1-1/+1
Change extend_count to uint32_t from uint16_t to avoid a possible premature integer overflow when it is later used for multiplication.
2024-01-16cpukit/dosfs: Remove unused internal function argKinsey Moore1-2/+0
2024-01-16cpukit: Remove or use unused variable assignmentsKinsey Moore6-5/+9
2024-01-16flashdev.c: return error if both buffers are NULLBernd Moessner1-1/+1
Updates #4981
2024-01-16flashdev: Add missing default caseBernd Moessner1-0/+2
Updates #4981
2024-01-16flashdev.h: Add missing C++ include guardsBernd Moessner1-0/+9
Updates #4981
2024-01-10libio: Clean up usage of rtems_termios_device_modeKinsey Moore1-1/+2
This cleans up outputUsesInterrupts usage with rtems_termios_device_mode enum values. The outputUsesInterrupts member was typed as an int, named as if it were a boolean value, and used as if it were a rtems_termios_device_mode enum. In this patch, values assigned to outputUsesInterrupts have been converted to the corresponding rtems_termios_device_mode enum value, conversions from deviceOutputUsesInterrupts have been made explicit, and uses of rtems_termios_device_mode enum values with deviceOutputUsesInterrupts have been converted to booleans.
2024-01-10cpukit/dosfs: Jump to correct error handlerKinsey Moore1-1/+1
When encountering an error during filesystem creation, fat_fd must be cleaned up appropriately once the file is opened. There was an opportunity for a resource leak due to jumping to the incorrect error handling label.
2024-01-05cpukit/dosfs: Cast away ignored returnKinsey Moore1-1/+1
An error is already being reported. Checking the return value of this function is not useful.
2023-12-22cpukit/jffs2: Revert to non-granular lockingKinsey Moore6-27/+61
Revert JFFS2 to non-granular locking. This makes the superblock available to the delayed work that it owns so that delayed work processing can ensure that shared resources are being exclusively accessed. This change only affects NAND systems. Moving forward with granular locking will require a significant investment of time in producing a test harness that doesn't require hardware such that this can get a reasonable amount of test coverage.
2023-12-19libtest: Change verbosity to normalSebastian Huber1-1/+1
A verbose verbosity is not required for normal test suite runs. It may be used to debug test cases.
2023-12-19doxygen: CONFIGURE_JFFS2_DELAYED_WRITE_TASK_PRIORITYSebastian Huber1-1/+29
Document CONFIGURE_JFFS2_DELAYED_WRITE_TASK_PRIORITY. Update #4961.
2023-12-19tm27: Add TM27_INTERRUPT_VECTOR_ALTERNATIVESebastian Huber1-0/+7
The TM27 support may define TM27_INTERRUPT_VECTOR_ALTERNATIVE to provide an alternative software generated interrupt request which is raised by _TM27_Raise_alternative() and cleared by _TM27_Clear_alternative(). Both functions shall return an RTEMS status code. This interrupt vector may be used to test the interrupt controller support on targets which do not provide generic software generated interrupts. Update #3716.
2023-12-19tm27: Add optional TM27_INTERRUPT_VECTOR_DEFAULTSebastian Huber1-1/+17
Let the BSP define TM27_INTERRUPT_VECTOR_DEFAULT to more efficiently and reliably get the TM27 default interrupt vector. Update #3716.
2023-12-19ftpd: Fix set but not used warningSebastian Huber1-1/+0
2023-12-14libtest: Fix test printer in rtems_test_run()Sebastian Huber1-2/+11
Route the test output through T_vprintf() only while the test suite runs. Otherwise, the begin/end of test message may not show up.
2023-12-14libtest: Set test printer in rtems_test_run()Sebastian Huber1-3/+11
Route the test output through T_vprintf().
2023-12-14ftpd: Make socket timeout optionalSebastian Huber1-9/+4
This feature is not supported by lwIP.
2023-12-14rtems-fdt: Fix node property access on 64bitChris Johns1-1/+1
2023-12-13libmisc/shell: Work around tmux bug in row and columnChris Johns1-25/+125
- Extend the timeout to 150 msec for long remote sessions - Improve the performance of the detection Closes #4975 Closes #4977
2023-11-28libtest: Add hash to gcov info dumpSebastian Huber1-2/+27
This helps to validate that the data was transferred correctly.
2023-11-28libtest: Add T_add_remark()Sebastian Huber2-1/+40
This can be used to report that nested test cases did run in a test case. Update #4971.