738 Commits

Author SHA1 Message Date
Sebastian Huber
c727e4a22e Separate libbsd and RTEMS clock ticks 2019-05-15 12:43:06 +02:00
Sebastian Huber
6a850e083d Fix USB_DEBUG redefinition warnings 2019-05-13 11:19:50 +02:00
Sebastian Huber
ac9974c358 Add hostname related sysctls conditionally
This helps to the reduce code size for USB only use cases.
2019-05-13 10:13:37 +02:00
Sebastian Huber
36e8ad4374 Use static inline functions for jail and prison
This helps the compiler to optimize away dead code.
2019-05-13 09:32:37 +02:00
Sebastian Huber
60e753777a IFCONFIG(8): Fix write to const string 2019-05-13 09:32:36 +02:00
Sebastian Huber
c6261f9787 Update due to API changes 2019-04-11 09:38:18 +02:00
Christian Mauderer
589f43d6af Import FreeBSD license files. 2019-04-04 09:07:10 +02:00
Vijay Kumar Banerjee
3f2b54d971 Remove pcap_version.h 2019-04-02 14:09:28 +02:00
Sebastian Huber
c5e58e28f7 BPF(9): Disable legacy timestamp support 2019-03-29 07:04:00 +01:00
Sebastian Huber
21ea762051 BPF(9): Fix timestamps 2019-03-28 11:34:53 +01:00
Sebastian Huber
c59fc821ff openssl/apps: Add missing newline
This is necessary to get a reversible import from FreeBSD.
2019-03-28 07:50:14 +01:00
Christian Mauderer
d1dac7891c bin/openssl: Port to RTEMS. 2019-03-27 10:53:26 +01:00
Christian Mauderer
0fecf49362 bin/openssl: Import from FreeBSD. 2019-03-26 10:19:22 +01:00
Sebastian Huber
24631e2263 tcpdump: Move static variables to special section
This fixes some issues if tcpdump is invoked a second time.
2019-03-11 09:37:36 +01:00
Sebastian Huber
0b9be9f27e tcpdump: Remove superfluous static variable 2019-03-11 09:37:06 +01:00
Sebastian Huber
d3159555c2 tcpdump: Use stack variables 2019-03-11 09:37:05 +01:00
Sebastian Huber
12c2cfb793 tcpdump: Constify 2019-03-11 09:37:03 +01:00
Sebastian Huber
c352e6979d C++ compatibility for some kernel-space headers 2019-02-18 10:04:53 +01:00
Sebastian Huber
b3bbfdfe91 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 08:57:42 +01:00
Sebastian Huber
0389b30dd9 Fix INVARIANTS support 2019-01-22 13:14:33 +01:00
Sebastian Huber
2b2563da95 Update to FreeBSD head 2018-12-20
Git mirror commit 19a6ceb89dbacf74697d493e48c388767126d418.

It includes an update of wpa_supplicant to version 2.7.

It includes an update of the OpenSSL baseline to version 1.1.1a.

Update #3472.
2018-12-20 13:36:34 +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
Sebastian Huber
2df56dbd60 Update to FreeBSD head 2018-04-01
Git mirror commit 8dfb1ccc26d1cea7e2529303003ff61f9f1784c4.

Update #3472.
2018-09-21 10:29:40 +02:00
Sebastian Huber
18fa92c2dc Update to FreeBSD head 2018-02-01
Git mirror commit d079ae0442af8fa3cfd6d7ede190d04e64a2c0d4.

Update #3472.
2018-09-21 10:29:39 +02:00
Sebastian Huber
bb80d9df8b Update to FreeBSD head 2017-12-01
Git mirror commit e724f51f811a4b2bd29447f8b85ab5c2f9b88266.

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