Sebastian Huber
f44ecd0ea9
jffs2: Use RTEMS_CONTAINER_OF
2022-06-20 13:25:32 +02:00
Chris Johns
acc32a8e5c
cpukit: Fixes for GCC 12 warnings
...
Updates #6442
2022-06-15 13:01:03 +10:00
Chris Johns
0cf0914efe
cpukit: Change _COMPILING_NEWLIB to _LIBC for helper functions decls
...
Updates #4662
2022-06-15 13:00:48 +10:00
Chris Johns
5262b9c2ab
score/cpu: Silence ARM and AARCH64 GCC 12 false trigger array warning
...
The false trigger is covered in:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578
GCC 11 and 12 has been patched for constant pointer casts above
4K. This code casts a constant pointer within the first 4K
page. As a result the patch disables the warning.
Updates #4662
2022-06-15 12:57:28 +10:00
Gabriel Moyano
11621c9c52
kern_tc.c: Update pps_event() for uniprocessor configurations
...
Since pps->capgen equal to zero is not a special value in uniprocessor configurations, there is no need to check for this condition.
Update #2349
2022-06-10 11:12:03 +02:00
Sebastian Huber
c93f0f01e5
arm: Fix PMSA regions for contiguous sections
...
Sections with identical attributes may be contiguous with a respective
begin and end address which is not on a minimum region boundary. The
begin address is aligned down to the region base address. The end
address is aligned up to the region end address. Account for this in
the check for contiguous sections.
Update #4202 .
2022-06-08 09:10:20 +02:00
Sebastian Huber
0b9497a6dd
arm: Fix PMSA region mapping with 0x0 end address
...
A section may span up to the end of the address range. In this case the
end address is zero. Use the base address to check if a region should
be before another region.
Update #4202 .
2022-06-08 09:10:12 +02:00
Sebastian Huber
a26b9936ff
arm: Fix typo
2022-06-03 08:37:14 +02:00
Sebastian Huber
044e8b6b97
score: Fix pps_fetch()
...
Return early only if there was a timeout, otherwise return the PPS info.
Update #2349 .
2022-05-27 11:30:51 +02:00
Sebastian Huber
495f8363de
score: Reformat for code coverage
...
Close #2349 .
2022-05-23 09:09:08 +02:00
Gabriel Moyano
5ccf9605dd
timecounter.h: Add _Timecounter_Discipline()
...
Update #2349 .
2022-05-23 09:09:03 +02:00
Gabriel Moyano
b3e4f5809d
timepps.h: PPS_SYNC defined by default
...
Update #2349 .
2022-05-23 09:09:01 +02:00
Gabriel Moyano
b304603b62
kern_ntptime.c: Add define in order to remove warning
...
Update #2349 .
2022-05-23 09:08:59 +02:00
Gabriel Moyano
13513b8104
kern_tc.c: Enable PPS API support
...
Update #2349 .
2022-05-23 09:08:57 +02:00
Gabriel Moyano
c34d3aecb1
kern_tc.c: Add definitions required by PPS API
...
Update #2349 .
2022-05-23 09:08:55 +02:00
Gabriel Moyano
ac4ea53664
score: Rename tc_getfrequency()
...
Rename tc_getfrequency() to _Timecounter_Get_frequency().
Update #2349 .
2022-05-23 09:08:52 +02:00
Gabriel Moyano
95c747d9e7
kern_tc.c: Replace FreeBSD event mechanism by adding pointers to function
...
Update #2349 .
2022-05-23 09:08:50 +02:00
Gabriel Moyano
bf61753a92
kern_tc.c: Add atomic dependencies required by the PPS API
...
Update #2349 .
2022-05-23 09:08:48 +02:00
Gabriel Moyano
a3930e8c49
kern_ntptime.c: Add lmax() qmin() definitions
...
Update #2349 .
2022-05-23 09:08:46 +02:00
Gabriel Moyano
9b4212c7b0
kern_ntptime.c: Disable freebsd features
...
Update #2349 .
2022-05-23 09:08:29 +02:00
Sebastian Huber
89c498ccda
score: Add SPDX License Identifier
...
Remove URL in copyright notice.
Update #3053 .
2022-05-18 11:34:53 +02:00
Sebastian Huber
93800e09d7
rtems: Relicense rtemsmaxprio.c
...
Change license to BSD-2-Clause according to file history.
Update #3053 .
2022-05-18 11:34:50 +02:00
Sebastian Huber
f49ef6b6cb
Add file descriptions to kernel space headers
2022-05-18 10:01:29 +02:00
Sebastian Huber
b9926483b1
Fix copyright notice of kernel space headers
...
Use the copyright notice of the associated header file from FreeBSD if the
kernel space header file contains a substantial amount of imported code.
2022-05-18 10:01:29 +02:00
Sebastian Huber
81962136cc
Add include guard checks to kernel space headers
2022-05-18 10:01:29 +02:00
Sebastian Huber
3ccfb58311
Synchronize all file descriptors in sync()
...
Synchronize all file descriptors and not just the ones associated with a FILE
object.
Close #4656 .
2022-05-17 15:20:37 +02:00
Sebastian Huber
5a165982ec
score: Fix SMP priority affinity scheduler yield
2022-05-13 13:16:57 +02:00
Tian Ye
901bc146b0
score: Add SMP priority affinity scheduler yield
2022-05-12 09:02:26 +02:00
Ryan Long
3afdf65634
error.c: Add file header and license
...
This file had no header, copyright, or license. Based on git history,
added appropriate copyright and license.
2022-05-04 09:12:07 -05:00
Ryan Long
86a6aca9d7
ftpd.c: Add file header and license
...
This file had no header, copyright, or license. Based on git history,
added appropriate copyright and license.
2022-05-04 09:12:07 -05:00
Ryan Long
6b32f5ed70
rtems-rfs-dir-hash.c: Add file headers and licenses
...
This file had no header, copyright, or license. Based on git history,
added appropriate copyright and license.
2022-05-04 09:12:07 -05:00
Ryan Long
cee6e7f616
telnetd/des.h: Add file header and license
...
This file had no header, copyright, or license. Based on git history,
added appropriate copyright and license.
2022-05-04 09:12:07 -05:00
Ryan Long
37bcb0e19f
__getpid: Add file headers and licenses
...
This file had no header, copyright, or license. Based on git history,
added appropriate copyright and license.
2022-05-04 09:12:07 -05:00
Ryan Long
a0a9248d64
t-test-checks-psx.c: Add file headers and licenses
...
This file had no header, copyright, or license. Based on git history,
added appropriate copyright and license.
2022-05-04 09:12:07 -05:00
Ryan Long
7dc7ca0e6c
rtems-jffs2-config.h: Add file headers and licenses
...
This file had no header, copyright, or license. Based on git history,
added appropriate copyright and license.
2022-05-04 09:12:07 -05:00
Ryan Long
ebfccb05b8
include: Add file headers and licenses
...
These files had no header, copyright, or license. Based on git history,
added appropriate copyrights and licenses.
2022-05-04 09:12:06 -05:00
Ryan Long
feffc4546a
score/src: Add file headers and licenses
...
These files had no header, copyright, or license. Based on git history,
added appropriate copyright and license.
2022-05-04 09:12:06 -05:00
Ryan Long
0c17d0e55d
ftpd.h: Add file header and license
...
This file had no header, copyright, or license. Based on git history,
added appropriate copyright and license.
2022-05-04 09:12:01 -05:00
Ryan Long
5cbad67bc8
include/pci: Add file header and license
...
This file had no header, copyright, or license. Based on git history,
added appropriate copyright and license.
2022-05-04 09:12:01 -05:00
Ryan Long
17c92ad829
cpukit/include/rtems: Add file headers and licenses
...
These files had no header, copyright, or licenses. Based on git history,
added appropriate copyright and license.
2022-05-04 09:12:01 -05:00
Ryan Long
45a78fdbf5
sparc64-syscall.h: Add file headers and licenses
...
This file had no header, copyright, or license. Based on git history,
added appropriate copyright and license.
2022-05-04 09:12:01 -05:00
Ryan Long
cce7074279
cpukit/microblaze: Add file headers and licenses
...
These files had no file header, copyright, or license. Based on git
history, added appropriate copyright and license.
2022-05-04 09:12:01 -05:00
Ryan Long
27fd10d76b
cpukit/libmisc: Add file headers and licenses
...
These files had no file header, copyright, or license. Based on git
history, added appropriate copyright and license.
2022-05-04 09:12:01 -05:00
Ryan Long
f789175f32
adasupp.c: Add file header and license
...
This file had no file header, copyright, or license. Based on git
history, added appropriate copyright and license.
2022-05-04 09:12:01 -05:00
Ryan Long
a8b63fd082
cpukit/libcsupport: Adding file headers and licenses
...
These files had no file header, copyright, or license. Based on git
history, added appropriate copyright and license.
2022-05-04 09:11:55 -05:00
Ryan Long
47e84cbde2
cpukit/include: Adding file headers and licenses
...
These files had no file header, copyright, or license. Based on git
history, added appropriate copyright and license.
2022-05-04 09:11:50 -05:00
Sebastian Huber
8b18037f20
heap: Fix heap statistics with protection enabled
...
Close #4644 .
2022-04-28 09:16:54 +02:00
Ryan Long
5e0e0675e2
libdl: Manually adding file headers and licenses
...
These files had no file header, copyright, or license. Chris identified
that these were made by him.
Updates #4521
2022-04-27 15:19:24 -05:00
Joel Sherrill
6f40354dba
Remove duplicate SPDX lines accidentally added
2022-04-08 08:41:50 -05:00
Ryan Long
5efcd021ef
x86_64/elf_machdep.h: Replace stub with NetBSD version
...
The other ports included that architecture's version of this file from
NetBSD. This patch follows that pattern.
closes #4641
2022-04-08 08:36:24 -05:00