508 Commits

Author SHA1 Message Date
Sebastian Huber
054f66bfff libsodium: Disable unused function 2019-08-27 10:26:07 +02:00
Sebastian Huber
303dbe5f05 tty.c: Disable unused functions 2019-08-27 10:11:07 +02:00
Sebastian Huber
f2124b600b pf_ioctl.c: Disable superfluous unload support 2019-08-27 10:06:53 +02:00
Sebastian Huber
19a0e2de5c kern_intr.c: Disable unused functions 2019-08-27 10:04:31 +02:00
Sebastian Huber
e897a832ad Remove superfluous support for preloaded modules 2019-08-27 09:55:43 +02:00
Sebastian Huber
3411e3d738 Update to FreeBSD stable/12 2019-08-26
Git mirror commit 621e7bafbf6857451f23ba11b0495c7ac69aff89.
2019-08-26 09:39:40 +02:00
Sebastian Huber
c0dc524614 SLEEPQUEUE(9): Optimize sleepq_set_timeout_sbt()
Avoid an extra ISR disable/enable in SMP configurations.
2019-08-26 08:23:36 +02:00
Sebastian Huber
5283630d2c Update to FreeBSD stable/12 2019-07-09
Git mirror commit 3427c3416aa3c0f25124070959cca78024b94d85.
2019-07-09 14:45:47 +02:00
Sebastian Huber
660a8835eb SLEEPQUEUE(9): Fix timeout handling 2019-07-05 10:20:47 +02:00
Sebastian Huber
bbd07d1ac9 Import missing header file 2019-06-28 08:53:34 +02:00
Sebastian Huber
7ece7548c1 Update to FreeBSD stable/12 2019-06-26
Git mirror commit aa83598855d14cdbf7aef6b05d0617e90f87ca2f.
2019-06-26 13:44:21 +02:00
Sebastian Huber
705e362ea5 Update to FreeBSD stable/12 2019-06-05
Git mirror commit 78576620f2689e23144a1cf1bf55106cc6abe2b7.
2019-06-05 14:16:00 +02:00
Sebastian Huber
5cb01f2779 Add riscv support 2019-05-23 08:09:34 +02:00
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
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
eb1d30ad35 Update to FreeBSD stable/12 2019-03-11
Git mirror commit 735fe7a0a5f9c265040e2e6654a01b081d6354f1.
2019-03-11 09:41:49 +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
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
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
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