741 Commits

Author SHA1 Message Date
Sebastian Huber
edc4bf9f71 Separate libbsd and RTEMS clock ticks 2019-05-15 13:43:49 +02:00
Sebastian Huber
f6075e1837 Fix USB_DEBUG redefinition warnings 2019-05-15 13:43:48 +02:00
Sebastian Huber
2f9d60c613 Add hostname related sysctls conditionally
This helps to the reduce code size for USB only use cases.
2019-05-13 10:15:58 +02:00
Sebastian Huber
49c75e331e Use static inline functions for jail and prison
This helps the compiler to optimize away dead code.
2019-05-13 09:34:01 +02:00
Sebastian Huber
3549a127ec IFCONFIG(8): Fix write to const string 2019-05-13 09:33:58 +02:00
Sebastian Huber
647dd08ae2 Update due to API changes 2019-04-11 09:38:45 +02:00
Sebastian Huber
5ae5e07676 BPF(9): Disable legacy timestamp support 2019-03-29 07:04:38 +01:00
Sebastian Huber
616e1d4cf7 BPF(9): Fix timestamps 2019-03-28 11:37:20 +01:00
Sebastian Huber
481397ff24 Update to FreeBSD stable/12 2019-03-27
Git mirror commit 43a38f188ca2e936ec78104c30ea3e24d9c1606b.
2019-03-28 08:15:38 +01:00
Sebastian Huber
29f11aa966 openssl/apps: Add missing newline
This is necessary to get a reversible import from FreeBSD.
2019-03-28 07:51:10 +01:00
Christian Mauderer
9ed6c97139 bin/openssl: Port to RTEMS. 2019-03-28 07:17:24 +01:00
Christian Mauderer
0a699e74e7 bin/openssl: Import from FreeBSD. 2019-03-28 07:17:12 +01:00
Sebastian Huber
eb1d30ad35 Update to FreeBSD stable/12 2019-03-11
Git mirror commit 735fe7a0a5f9c265040e2e6654a01b081d6354f1.
2019-03-11 09:41:49 +01:00
Sebastian Huber
d542c19668 tcpdump: Move static variables to special section
This fixes some issues if tcpdump is invoked a second time.
2019-03-11 09:41:48 +01:00
Sebastian Huber
c0776e69be tcpdump: Remove superfluous static variable 2019-03-11 09:35:12 +01:00
Sebastian Huber
d8a584df97 tcpdump: Use stack variables 2019-03-11 09:35:12 +01:00
Sebastian Huber
4a8e4d9326 tcpdump: Constify 2019-03-11 09:35:09 +01:00
Sebastian Huber
d8e4874ea0 C++ compatibility for some kernel-space headers 2019-02-18 10:09:57 +01:00
Sebastian Huber
1ce4034521 ZONE(9): Fix UMA_PCPU_ALLOC_SIZE
Using CACHE_LINE_SIZE for UMA_PCPU_ALLOC_SIZE was a huge memory waste
since the backend memory allocator is page based.
2019-02-12 09:17:36 +01:00
Sebastian Huber
556ec29b4e Update to FreeBSD stable/12 2019-02-11
Git mirror commit 606b591dae1023a71ff020faf99789059eb6591f.
2019-02-12 09:17:32 +01:00
Sebastian Huber
4a8bc9e5fa Update to FreeBSD stable/12 2019-02-04
Git mirror commit 50f507fe430c8041715f649f179f4b0a431dd7ff.
2019-02-04 15:12:50 +01:00
Sebastian Huber
a5b385b26f Update to FreeBSD stable/12 2019-01-29
Git mirror commit 7005c2e76a6bfb359bf2f1acb8382c0b7a01f4be.
2019-01-29 10:57:36 +01:00
Sebastian Huber
1354d9bf97 Update to FreeBSD stable/12 2019-01-21
Git mirror commit 3a48f3689d65c5304cf706bbf2c5576daeb60a96.

Update #3472.
2019-01-21 10:13:58 +01:00
Sebastian Huber
aec8db05b2 Update to FreeBSD stable/12 2019-01-16
Git mirror commit 4ff7d8141f665693dd8b17090d410604888f1e9a.

Update #3472.
2019-01-21 10:00:40 +01:00
Christian Mauderer
8ae22c48b3 freebsd/if_cpsw: Port. 2018-12-20 13:36:34 +01:00
Christian Mauderer
736d651892 freebsd/if_cpsw: Import. 2018-12-20 13:36:33 +01:00
Christian Mauderer
e3b595273a SLEEPQUEUE(9): Fix typo that prevent non-SMP build. 2018-12-19 10:41:47 +01:00
Sebastian Huber
1b47c61d2b SLEEPQUEUE(9): SMP only cache line alignment 2018-12-14 10:37:26 +01:00
Sebastian Huber
8d5fc9d52a blist: Fix u_daddr_t for 32-bit targets
The daddr_t is defined in <sys/types.h> by Newlib as long.
2018-11-27 09:13:54 +01:00
Sebastian Huber
e0b4edbdcc Update to FreeBSD head 2018-11-15
Git mirror commit a18b0830c4be01b39489a891b63d6023ada6358a.

Update #3472.
2018-11-15 10:56:14 +01:00
Sebastian Huber
d4bf70e497 Disable or make static kern_* functions 2018-11-15 10:06:58 +01:00
Sebastian Huber
b3169c2a6a Update to FreeBSD head 2018-10-23
Git mirror commit 59f44d20be3f99d181ca742e636d45fc39ec982b.

This commit updates OpenSSL to version 1.1.1.  This required an update
of racoon which uses some internal stuff from OpenSSL and seems to be
mostly unmaintained, e.g. there is update in the FreeBSD ports to cope
with OpenSSL 1.1.1.

Update #3472.
2018-10-25 08:38:45 +02:00
Sebastian Huber
a1e32519dc libxo: Use program wrappers for exit(), etc. 2018-10-24 11:36:40 +02:00
Sebastian Huber
dbb24072db ZONE(9): Disable UMA_ZONE_NUMA
There is no NUMA support in RTEMS currently.
2018-10-23 12:11:54 +02:00
Sebastian Huber
8ee0aa19cf PING(8): Honour file descriptor maximum 2018-10-10 14:41:19 +02:00
Sebastian Huber
1e77a45d54 saf1761_otg: Use real interrupt handler
The USB_BUS_SPIN_LOCK() is only used internally to the bus driver.
Replace the mutex with an interrupt disable/enable section.  Execute the
interrupt filter in a real interrupt context and forward the interrupt
handler to the interrupt server if necessary.
2018-10-04 14:14:51 +02:00
Sebastian Huber
f9d4e1d8c1 rtwn: Align mbuf to avoid realignment in rx path
See ieee80211_realign().
2018-10-04 14:12:56 +02:00
Sebastian Huber
2eae88b07c Fix typo (RTEMS_BSD_MODULE_NET80211) 2018-10-02 10:30:51 +02:00
Sebastian Huber
b54bd9546e fsl_sdhci.c: Fix missing include error
Update #3525.
2018-09-28 18:08:22 +02:00
Sebastian Huber
8645b55017 fsl_sdhci.c: Fix missing include error
Update #3525.
2018-09-27 07:28:30 +02:00
Sebastian Huber
6721f56bca fsl_sdhci.c: Import from FreeBSD
Update #3525.
2018-09-25 10:01:39 +02:00
Sebastian Huber
06dd40e544 imx/imx_gpio.c: Port to RTEMS
Update #3525.
2018-09-25 10:01:37 +02:00
Sebastian Huber
7e8e1770f2 imx/imx_gpio.c: Import from FreeBSD
Update #3525.
2018-09-25 10:01:35 +02:00
Sebastian Huber
b42dea9e51 CONFIG_INTRHOOK(9): Port to RTEMS
Some device drivers (e.g. MMC) need a complex intialization with working
callouts.  Remove the dummy CONFIG_INTRHOOK() implementation and replace
it with the real one from FreeBSD.  Make sure TIMEOUT(9) services work
at this point.

Update #3525.
2018-09-25 10:01:15 +02:00
Sebastian Huber
be6515d2c1 ck: Use relaxed memory order if possible
In uniprocessor configurations we can use a relaxed memory order and
compiler memory barriers should be sufficient.

Update #3472.
2018-09-21 10:29:43 +02:00
Sebastian Huber
1af372a5ee ck: No hardware barriers in uniprocessor configs
Update #3472.
2018-09-21 10:29:42 +02:00
Sebastian Huber
3489e3b639 Update to FreeBSD head 2018-09-17
Git mirror commit 6c2192b1ef8c50788c751f878552526800b1e319.

Update #3472.
2018-09-21 10:29:41 +02:00
Sebastian Huber
3becda1fef ck: Define CK_MD_PPC32_LWSYNC if available
This is option has a huge performance impact.

Update #3472.
2018-09-21 10:29:41 +02:00
Sebastian Huber
baf1ca7629 ck: Use atomic built-ins
Update #3472.
2018-09-21 10:29:41 +02:00
Sebastian Huber
bcdce02d9b Update to FreeBSD head 2018-06-01
Git mirror commit fb63610a69b0eb7f69a201ba05c4c1a7a2739cf9.

Update #3472.
2018-09-21 10:29:41 +02:00