summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Fix pps_fetch()Sebastian Huber2022-05-271-1/+2
| | | | | | Return early only if there was a timeout, otherwise return the PPS info. Update #2349.
* score: Reformat for code coverageSebastian Huber2022-05-231-2/+18
| | | | Close #2349.
* timecounter.h: Add _Timecounter_Discipline()Gabriel Moyano2022-05-232-0/+26
| | | | Update #2349.
* timepps.h: PPS_SYNC defined by defaultGabriel Moyano2022-05-232-10/+1
| | | | Update #2349.
* kern_ntptime.c: Add define in order to remove warningGabriel Moyano2022-05-231-0/+3
| | | | Update #2349.
* kern_tc.c: Enable PPS API supportGabriel Moyano2022-05-231-4/+0
| | | | Update #2349.
* kern_tc.c: Add definitions required by PPS APIGabriel Moyano2022-05-231-0/+6
| | | | Update #2349.
* score: Rename tc_getfrequency()Gabriel Moyano2022-05-233-1/+19
| | | | | | Rename tc_getfrequency() to _Timecounter_Get_frequency(). Update #2349.
* kern_tc.c: Replace FreeBSD event mechanism by adding pointers to functionGabriel Moyano2022-05-232-0/+65
| | | | Update #2349.
* kern_tc.c: Add atomic dependencies required by the PPS APIGabriel Moyano2022-05-232-0/+14
| | | | Update #2349.
* kern_ntptime.c: Add lmax() qmin() definitionsGabriel Moyano2022-05-231-0/+2
| | | | Update #2349.
* kern_ntptime.c: Disable freebsd featuresGabriel Moyano2022-05-231-1/+3
| | | | Update #2349.
* score: Add SPDX License IdentifierSebastian Huber2022-05-184-4/+12
| | | | | | Remove URL in copyright notice. Update #3053.
* rtems: Relicense rtemsmaxprio.cSebastian Huber2022-05-181-4/+23
| | | | | | Change license to BSD-2-Clause according to file history. Update #3053.
* Add file descriptions to kernel space headersSebastian Huber2022-05-189-3/+53
|
* Fix copyright notice of kernel space headersSebastian Huber2022-05-186-53/+59
| | | | | Use the copyright notice of the associated header file from FreeBSD if the kernel space header file contains a substantial amount of imported code.
* Add include guard checks to kernel space headersSebastian Huber2022-05-182-0/+8
|
* Synchronize all file descriptors in sync()Sebastian Huber2022-05-171-72/+12
| | | | | | | Synchronize all file descriptors and not just the ones associated with a FILE object. Close #4656.
* score: Fix SMP priority affinity scheduler yieldSebastian Huber2022-05-131-0/+1
|
* score: Add SMP priority affinity scheduler yieldTian Ye2022-05-122-1/+25
|
* error.c: Add file header and licenseRyan Long2022-05-041-2/+28
| | | | | This file had no header, copyright, or license. Based on git history, added appropriate copyright and license.
* ftpd.c: Add file header and licenseRyan Long2022-05-041-0/+33
| | | | | This file had no header, copyright, or license. Based on git history, added appropriate copyright and license.
* rtems-rfs-dir-hash.c: Add file headers and licensesRyan Long2022-05-041-0/+27
| | | | | This file had no header, copyright, or license. Based on git history, added appropriate copyright and license.
* telnetd/des.h: Add file header and licenseRyan Long2022-05-041-0/+33
| | | | | This file had no header, copyright, or license. Based on git history, added appropriate copyright and license.
* __getpid: Add file headers and licensesRyan Long2022-05-041-0/+28
| | | | | This file had no header, copyright, or license. Based on git history, added appropriate copyright and license.
* t-test-checks-psx.c: Add file headers and licensesRyan Long2022-05-041-0/+33
| | | | | This file had no header, copyright, or license. Based on git history, added appropriate copyright and license.
* rtems-jffs2-config.h: Add file headers and licensesRyan Long2022-05-041-0/+33
| | | | | This file had no header, copyright, or license. Based on git history, added appropriate copyright and license.
* include: Add file headers and licensesRyan Long2022-05-042-0/+66
| | | | | These files had no header, copyright, or license. Based on git history, added appropriate copyrights and licenses.
* score/src: Add file headers and licensesRyan Long2022-05-043-0/+81
| | | | | These files had no header, copyright, or license. Based on git history, added appropriate copyright and license.
* ftpd.h: Add file header and licenseRyan Long2022-05-041-1/+30
| | | | | This file had no header, copyright, or license. Based on git history, added appropriate copyright and license.
* include/pci: Add file header and licenseRyan Long2022-05-041-1/+20
| | | | | This file had no header, copyright, or license. Based on git history, added appropriate copyright and license.
* cpukit/include/rtems: Add file headers and licensesRyan Long2022-05-042-0/+53
| | | | | These files had no header, copyright, or licenses. Based on git history, added appropriate copyright and license.
* sparc64-syscall.h: Add file headers and licensesRyan Long2022-05-041-0/+15
| | | | | This file had no header, copyright, or license. Based on git history, added appropriate copyright and license.
* cpukit/microblaze: Add file headers and licensesRyan Long2022-05-042-0/+70
| | | | | These files had no file header, copyright, or license. Based on git history, added appropriate copyright and license.
* cpukit/libmisc: Add file headers and licensesRyan Long2022-05-043-3/+90
| | | | | These files had no file header, copyright, or license. Based on git history, added appropriate copyright and license.
* adasupp.c: Add file header and licenseRyan Long2022-05-041-0/+33
| | | | | This file had no file header, copyright, or license. Based on git history, added appropriate copyright and license.
* cpukit/libcsupport: Adding file headers and licensesRyan Long2022-05-0425-10/+734
| | | | | These files had no file header, copyright, or license. Based on git history, added appropriate copyright and license.
* cpukit/include: Adding file headers and licensesRyan Long2022-05-047-4/+207
| | | | | These files had no file header, copyright, or license. Based on git history, added appropriate copyright and license.
* heap: Fix heap statistics with protection enabledSebastian Huber2022-04-282-9/+10
| | | | Close #4644.
* libdl: Manually adding file headers and licensesRyan Long2022-04-276-0/+210
| | | | | | | These files had no file header, copyright, or license. Chris identified that these were made by him. Updates #4521
* Remove duplicate SPDX lines accidentally addedJoel Sherrill2022-04-084-8/+0
|
* x86_64/elf_machdep.h: Replace stub with NetBSD versionRyan Long2022-04-081-4/+76
| | | | | | | The other ports included that architecture's version of this file from NetBSD. This patch follows that pattern. closes #4641
* imfs: Fix index underrun when extending empty fileChristian Mauderer2022-04-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | Currently the following sequence causes a endless loop when extending an IMFS file: - Create a file with zero length and close it. - Make sure nearly no allocatable memory is left. - Open the file and write enough data into it that more than the remaining memory will be used. In that case when extending the IMFS file, the file currently need zero blocks. If allocating enough new blocks fails, the already allocated new blocks will be freed again. The comparison of block>=old_blocks that has been used prior to this patch compared two unsigned numbers. If old_blocks was zero, the comparison of these two numbers always evaluated to true. This patch frees the last block in a separate step to avoid this problem. Fixes #4639
* shell: Add rtems_shell_run_main_loop()Sebastian Huber2022-04-062-0/+50
| | | | | | | In contrast to rtems_shell_main_loop(), this new function does not perform all sorts of initialization based on environment settings. For example, due to the use of isatty() in rtems_shell_main_loop() it is impossible to run an interactive shell through a socket connection.
* shell: Move rtems_shell_init_environment() callSebastian Huber2022-04-061-2/+2
| | | | | Move rtems_shell_init_environment() call to rtems_shell_set_shell_env() since this function uses the POSIX key.
* shell: Add and use SHELL_MAGICSebastian Huber2022-04-061-3/+5
|
* shell: Simplify rtems_shell_dup_current_env()Sebastian Huber2022-04-061-10/+7
| | | | Do not assign members already provided by the global environment.
* shell: Refactor rtems_shell_main_loop()Sebastian Huber2022-04-061-134/+150
| | | | | Disentangle the shell main loop from setup and teardown code. Move main loop into shell_main_loop().
* shell: Move line editor output checkSebastian Huber2022-04-061-44/+38
| | | | | Move call to isatty() to caller of rtems_shell_line_editor(). This avoids a dependency on isatty() in rtems_shell_line_editor().
* libmisc/untar: Use a larger block size to read and write filesChris Johns2022-04-061-20/+33
| | | | | | | - A larger block size lets files systems work better. On JFFS a 512 byte compressed block means lots of small flash updates Closes #4635