Commit Graph
35454 Commits
Author SHA1 Message Date
Joel Sherrill c669338a7e bsps/m68k/mvme147s: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill b4c3de78ea bsps/m68k/mvme147: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill 35cfe73740 bsps/m68k/mrm332: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill c46ec2b497 bsps/m68k/mcf5329: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill e50bdda22c bsps/m68k/mvf5235: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill eb7b866f51 bsps/m68k/mcf5225x: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill 8cc14e5a5e bsps/m68k/mcf52235: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill 5382615860 bsps/m68k/mcf5206elite: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill 62f31d05e5 bsps/m68k/include: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill 810bdeb34a bsps/m68k/genmcf548x: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill cfadeccbfc bsps/m68k/gen68360: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill f888837dd6 bsps/m68k/gen68340: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill bdd4f6dcbc bsps/m68k/csv360: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill cb4fdffe16 m68k/bsps/av5282: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill 2b87d7c5d8 bsps/lm32/shared: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill 1670bb2ddd bsps/lm32/lm32_evr: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill 2c48b89cb0 bsps/lm32/include: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill 5e8ec63561 bsps/include: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill c1b1c0fa6c bsps/i386/shared/pci/pci_io.c:Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill a52aa5b43f bsps/i386/pc386: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Gleb Smirnoff 388dd97e39 Add in_localip_fib(), in6_localip_fib().
Check if given address/FIB exists locally.

Reviewed by:		melifaro
Differential revision:	https://reviews.freebsd.org/D32913
2022-07-11 13:28:10 +02:00
Gleb Smirnoff 94c33ba992 Use network epoch to protect local IPv4 addresses hash.
The modification to the hash are already naturally locked by
in_control_sx.  Convert the hash lists to CK lists. Remove the
in_ifaddr_rmlock. Assert the network epoch where necessary.

Most cases when the hash lookup is done the epoch is already entered.
Cover a few cases, that need entering the epoch, which mostly is
initial configuration of tunnel interfaces and multicast addresses.

Reviewed by:		melifaro
Differential revision:	https://reviews.freebsd.org/D32584
2022-07-11 13:28:10 +02:00
Alexander V. Chernikov 7846249e1a routing: fix source address selection rules for IPv4 over IPv6.
Current logic always selects an IFA of the same family from the
 outgoing interfaces. In IPv4 over IPv6 setup there can be just
 single non-127.0.0.1 ifa, attached to the loopback interface.

Create a separate rt_getifa_family() to handle entire ifa selection
 for the IPv4 over IPv6.

Differential Revision: https://reviews.freebsd.org/D31868
MFC after:	1 week
2022-07-11 13:28:10 +02:00
John Baldwin 070f1b552c Remove copyinfrom() and copyinstrfrom().
These functions were added in 2001 and are currently unused.
copyinfrom() looks to have never been used.  copyinstrfrom() was used
for two weeks before the code was refactored to remove it's sole use.

Reviewed by:	brooks, kib
Obtained from:	CheriBSD
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D24928
2022-07-11 13:28:10 +02:00
Joel Sherrill 00e0fb916e bsps/arm/realview-pbx-a9: Change license to BSD-2
Updates #3053.
2022-07-08 08:42:42 -05:00
Joel Sherrill f6e9e89729 bsps/arm/raspberrypi: Change license to BSD-2
Updates #3053.
2022-07-08 08:42:42 -05:00
Joel Sherrill f3237b3186 bsps/arm/lpc32xx: Change license to BSD-2
Updates #3053.
2022-07-08 08:42:42 -05:00
Joel Sherrill 445ddb31ef bsps/arm/lpc24xx: Change license to BSD-2
Updates #3053.
2022-07-08 08:42:42 -05:00
Joel Sherrill d42276615c bsps/arm/imxrt: Change license to BSD-2
Updates #3053.
2022-07-08 08:42:42 -05:00
Joel Sherrill c519d4589b bsps/arm/lpc176x: Change license to BSD-2
Updates #3053.
2022-07-08 08:42:42 -05:00
Joel Sherrill 03cb6e819c bsps/arm/include: Change license to BSD-2
Updates #3053.
2022-07-08 08:42:42 -05:00
Joel Sherrill df50266c6a bsps/arm/imx: Change license to BSD-2
Updates #3053.
2022-07-08 08:42:42 -05:00
Joel Sherrill 6505459565 bsps/arm/csb337: Change license to BSD-2
Updates #3053.
2022-07-08 08:42:42 -05:00
Joel Sherrill b1cc3dd07e bsps/arm/beagle: Change license to BSD-2
Updates #3053.
2022-07-08 08:42:42 -05:00
Joel Sherrill 6fc04f4cfd bsps/arm/atsamv: Change license to BSD-2
Updates #3053.
2022-07-08 08:42:42 -05:00
Joel Sherrill 9e0244e95f bsps/arm/altera-cyclone-v: Change license to BSD-2
Updates #3053.
2022-07-08 08:42:42 -05:00
Joel Sherrill 8ca4b5c8bb bsps/arm/shared: Change license to BSD-2
Updates #3053.
2022-07-08 08:42:42 -05:00
Sebastian Huber e506df58ec validation: Test thread idle bodies
Update #3716.
2022-07-07 09:00:48 +02:00
Sebastian Huber 588a07e1a8 validation: Always test spurious interrupts
Update #3716.
2022-07-07 09:00:46 +02:00
Sebastian Huber c75e03367a validation: Test thread free of FPU owner
Update #3716.
2022-07-07 09:00:44 +02:00
Sebastian Huber af90f783f0 validation: Test scheduler detail
This particular state during a reconsider help request scheduler operation was
only covered by the existing test suites under some timing conditions.

Update #3716.
2022-07-07 09:00:29 +02:00
Sebastian Huber e7d01e7803 rtems: Simplify rtems_scheduler_ident()
Use early returns to simplify rtems_scheduler_ident().
2022-07-07 08:48:26 +02:00
Sebastian Huber 80090639a6 score: Use RTEMS_SMP in _Thread_Create_idle()
Conditional expressions with inline functions are not optimized away if
optimization is disabled.  Avoid such expressions to prevent dead
branches.
2022-07-07 08:48:26 +02:00
Sebastian Huber 6e74cebb62 score: Conditional _Thread_Priority_replace()
This function is only used in SMP configurations.
2022-07-07 08:46:48 +02:00
Kinsey Moore 2f6ee01e9e bsps/aarch64: Use MMU pages appropriately
There were two bugs with MMU page use that were partially hiding each
other. The linker script page table section was 4x the size it needed to
be and the page table allocation routine was allocating pages PTRSIZE
times larger than it needed to. On ILP32, this resulted in incorrect but
functional allocation. On LP64, this resulted in allocation failures
earlier than expected.
2022-07-06 10:22:08 -05:00
Kinsey Moore 22015c0251 cpukit/aarch64: Remove _CPU_ISR_install_vector
This function was never actually used and is dead code.
2022-07-05 15:35:56 -05:00
Gabriel Moyano eefaf0687c sppps01: Add test case for early returns of pps_event()
Update #2349.
2022-07-05 15:17:15 +02:00
Sebastian Huber 03e4d1e931 score: Add _CPU_Use_thread_local_storage()
At some point during system initialization, the idle threads are created.
Afterwards, the boot processor basically executes within the context of an idle
thread with thread dispatching disabled.  On some architectures, the
thread-local storage area of the associated thread must be set in dedicated
processor registers.  Add the new CPU port function to do this:

void _CPU_Use_thread_local_storage( const Context_Control *context )

Close #4672.
2022-07-04 08:30:42 +02:00
Sebastian Huber 9dd4bd3963 libtests/crypt01: Avoid stack overflows
The SHA512 functions may use huge amounts of stack space if compiled without
optimization.
2022-07-04 08:30:42 +02:00
Sebastian Huber da8b234261 samples/minimum: Prevent a stack overflow
Prevent a stack overflow if RTEMS_COVERAGE is enabled.
2022-07-04 08:30:40 +02:00