656 Commits

Author SHA1 Message Date
Sebastian Huber
7801010b68 Add USB mass storage only build set 2019-05-13 09:45:51 +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
5da04d6837 Fix zero-copy mbuf support
In 2017 there was a change in the mbuf API.
2019-05-13 09:32:37 +02:00
Sebastian Huber
c6261f9787 Update due to API changes 2019-04-11 09:38:18 +02:00
Sebastian Huber
66cee30944 nfsclient: Fix for 64-bit targets
The use of the serporid structure with several embedded unions to split
up the specific NFS request/response structures is quite a hack.  It
breaks on 64-bit targets due to the presence of pointer members which
affect the overall alignment.
2019-03-29 09:04:54 +01:00
Sebastian Huber
9fabaaec3e Revert "Add BURN_BRIDGES global kernel option"
This reverts commit 0904e3371406d2775cba848da441e00fd1ef1ef6.
2019-03-29 06:55:51 +01:00
Sebastian Huber
0904e33714 Add BURN_BRIDGES global kernel option 2019-03-28 11:35:47 +01:00
Christian Mauderer
d1dac7891c bin/openssl: Port to RTEMS. 2019-03-27 10:53:26 +01:00
Sebastian Huber
da2b048fdb Remove unused file 2019-03-01 13:13:20 +01:00
Sebastian Huber
af02f4644f Build C++ kernel-space compatibility file 2019-02-18 10:06:02 +01:00
Sebastian Huber
0dbc4e269b Fix atomic_load_32() 2019-02-18 10:03:57 +01:00
Sebastian Huber
7cef34ae74 Remove <linux/rbtree.h>
It is already provided by RTEMS.
2019-02-12 14:18:33 +01:00
Sebastian Huber
adb7116425 Remove obsolete <rtems/pty.h> 2019-02-12 14:17:52 +01:00
Sebastian Huber
3b1f317706 mghttpd: Remove
The mghttpd is already provided by RTEMS.
2019-02-12 14:16:24 +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
1c3a92d81e atomic.h: Add atomic_fetchadd_64() 2019-02-11 15:20:11 +01:00
Sebastian Huber
4c8a1addeb atomic.h: Add atomic_load_32() 2019-02-11 09:36:55 +01:00
Sebastian Huber
0389b30dd9 Fix INVARIANTS support 2019-01-22 13:14:33 +01:00
Sebastian Huber
5aa6ee55fc dpaa: Use if_transmit instead of legacy if_start
This avoids a lock contention on the send queue.
2019-01-15 08:01:00 +01:00
Sebastian Huber
a1bad53dc1 dpaa: Fix FMan MAC SGT zone alignment 2019-01-15 08:01:00 +01:00
Sebastian Huber
f60ac53420 Update rtems-bsd-kernel-namespace.h 2018-12-20 13:49:03 +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
Sebastian Huber
d7c7d6e256 Fix locking issue in epoch_sysinit()
The _Watchdog_Per_CPU_insert_ticks() assumes that interrupts are
disabled.
2018-12-20 10:33:34 +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
70555d532d mutex: Avoid NULL pointer access in panic() 2018-11-15 09:18:48 +01:00
Sebastian Huber
9f2c3ceebe Fix locking issue in epoch_watchdog()
The _Watchdog_Per_CPU_insert_ticks() assumes that interrupts are
disabled.
2018-11-15 08:26:49 +01:00
Sebastian Huber
9f87c4586b Include missing <sys/types.h>
Update #3598.
2018-11-13 10:17:48 +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
ed5e02a933 Fix redefinition warnings 2018-10-23 13:25:45 +02:00
Sebastian Huber
1aeb727bd2 pppd: Fix use of uninitialized stack variables 2018-10-23 07:37:11 +02:00
Sebastian Huber
91327bd82a Use global stdout for kernel output and syslog() 2018-10-10 14:20:42 +02:00
Sebastian Huber
f949b432de Fix syslog() priority handling
Ths syslog priority is a mask not a level.
2018-10-10 14:20:06 +02:00
Sebastian Huber
2eae88b07c Fix typo (RTEMS_BSD_MODULE_NET80211) 2018-10-02 10:30:51 +02:00
Sebastian Huber
38c1a410fc telnetd: Update due to API changes
Update #3526.
2018-10-02 07:12:59 +02:00
Christian Mauderer
61575f5c44 Add PHY-driver for KSZ8091RNB with 50MHz.
This adds a driver for the KSZ8091RNB PHY. This PHY needs some special
treatment if it is clocked with a 50MHz clock.
2018-09-27 11:03:21 +02:00
Sebastian Huber
b3825029ff fsl_sdhci.c: Port to RTEMS
Update #3525.
2018-09-25 10:01:41 +02:00
Sebastian Huber
06dd40e544 imx/imx_gpio.c: Port to RTEMS
Update #3525.
2018-09-25 10:01:37 +02:00
Sebastian Huber
13840c1bea Update gpio interface
Update #3525.
2018-09-25 10:01:28 +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
610349693d if_ffec_mpc8xx: Fix incoming data invalidation
With a write-back cache dirty cache lines may be evicted which could
overwrite new data.

Close #3523.
2018-09-21 10:29:43 +02:00
Sebastian Huber
1b70957bd1 if_ffec_mpc8xx: Use M_NOWAIT for incoming frames
Update #3523.
2018-09-21 10:29:43 +02:00
Sebastian Huber
d101ed8614 if_ffec_mpc8xx: New MDIO driver support
Update #3523.
2018-09-21 10:29:43 +02:00
Sebastian Huber
457b4fc927 if_ffec_mpc8xx: Port driver to libbsd
Update #3523.
2018-09-21 10:29:43 +02:00
Sebastian Huber
860d833e05 if_ffec_mpc8xx: Import legacy driver from RTEMS
Imported from RTEMS commit 1fe1b820de02c274c2b2b3431340152734ee9fb6
(2018-09-12).

Update #3523.
2018-09-21 10:29:43 +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
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