Sebastian Huber
510d1c96f6
Include missing <stdlib.h> to fix warnings
2019-05-15 13:43:46 +02:00
Sebastian Huber
061e27912c
Remove unused maxusers
2019-05-15 13:43:44 +02:00
Sebastian Huber
0a8c0ce47f
Remove dangerous weak definition of getentropy()
...
All BSP supporting libbsd should provide this function.
2019-05-15 13:43:41 +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
6e5c632248
Fix zero-copy mbuf support
...
In 2017 there was a change in the mbuf API.
2019-05-13 09:34:00 +02:00
Sebastian Huber
647dd08ae2
Update due to API changes
2019-04-11 09:38:45 +02:00
Christian Mauderer
9ed6c97139
bin/openssl: Port to RTEMS.
2019-03-28 07:17:24 +01:00
Sebastian Huber
5f68b005f2
Remove unused file
2019-03-11 07:15:01 +01:00
Sebastian Huber
3e483fb445
Build C++ kernel-space compatibility file
2019-02-18 10:09:58 +01:00
Sebastian Huber
34cb55db70
Fix INVARIANTS support
2019-01-22 13:24:26 +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
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
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
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
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
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
Sebastian Huber
c37f9fba70
Update to FreeBSD head 2017-08-01
...
Git mirror commit f5002f5e5f78cae9f0269d812dc0aedb0339312c.
Update #3472 .
2018-09-21 10:29:37 +02:00
Sebastian Huber
08fbf18141
Initialize interrupt server earlier
...
This allows to initialize other basic services which depend on the
interrupt server.
2018-09-12 08:09:38 +02:00
Sebastian Huber
6e5b088e8f
Move dynamic mutex pool to separate file
...
This avoids false link-time dependencies.
2018-09-12 07:59:27 +02:00
Sebastian Huber
f56067e26c
vprintf: Avoid printf() to avoid FPU usage
2018-09-10 15:15:42 +02:00
Christian Mauderer
028bf82f6d
rc.conf: Fix cloned interface setup.
...
The cloned interfaces have to be set up befor the interface list is
created. Otherwise it's not possible to configure a cloned interface
with a `ifconfig_gifX` line.
2018-08-02 10:32:24 +02:00
Christian Mauderer
1b467ad47d
Add ipsec to rc.conf.
2018-08-02 10:25:42 +02:00
Christian Mauderer
b376ae131d
ipsec-tools: Port libipsec, setkey and racoon.
...
Note that this replaces the libipsec from FreeBSD with the one provided
by ipsec-tools.
2018-08-02 10:25:37 +02:00
Sebastian Huber
8bd38d645c
dhcpcd: Add rtems_dhcpcd_start()
...
Use it throughout to start the DHCP client (dhcpcd).
2018-05-08 06:50:17 +02:00
Sebastian Huber
bd09f9f132
rc_conf: Do not create directories used by dhcpcd
...
The dhcpcd will create the directories on its own.
2018-05-08 06:50:17 +02:00
Sebastian Huber
9c570da872
rc_conf: Include missing header files
2018-05-08 06:50:17 +02:00
Christian Mauderer
7ec935e03f
vprintf: Add handler that mutes all output.
...
This adds a vprintf handler that can be used to suppress all outputs of
the libbsd.
2018-03-23 09:36:35 +01:00
Sebastian Huber
d300a34424
Silence rtems_bsd_ifconfig()
2018-03-23 09:14:34 +01:00
Sebastian Huber
eae664ea8f
mutex: Use panic() after ISR lock release
...
Using panic() with interrupts disabled could lead to an additional error
(INTERNAL_ERROR_BAD_THREAD_DISPATCH_ENVIRONMENT) due to a potentially
blocking output.
2018-03-13 11:27:11 +01:00
Sebastian Huber
8b3da1329b
termios: Update due to API changes
...
Update #2843 .
2018-02-05 10:56:24 +01:00
Sebastian Huber
22538146a5
Add rtems_bsd_ifconfig()
2018-01-23 14:50:36 +01:00
Sebastian Huber
b1649d6322
Add rtems_bsd_initialize_dhcp()
2017-12-05 09:16:25 +01:00
Sebastian Huber
c360b1a2dc
Revert "RWLOCK(9): Add reader/writer lock implementation"
...
This was accidentally committed.
This reverts commit 97a98f6cd767b3a68279890488c7b451788f84f4.
2017-11-17 10:49:59 +01:00
Sebastian Huber
b5822c2a0a
Revert "SX(9): Implement with reader/writer lock"
...
This was accidentally committed.
This reverts commit cc7a8d87e7307db738bf39ab1ca3ce1053f1c163.
2017-11-17 10:49:31 +01:00
Sebastian Huber
cc7a8d87e7
SX(9): Implement with reader/writer lock
2017-11-16 09:02:28 +01:00
Sebastian Huber
97a98f6cd7
RWLOCK(9): Add reader/writer lock implementation
2017-11-16 09:02:24 +01:00
Sebastian Huber
344b8e6fb4
LOCKING(9): Remove dead code (DDB)
2017-11-16 08:17:03 +01:00
Sebastian Huber
3f23fcd943
LOCKING(9): Remove dead code (KDTRACE_HOOKS)
2017-11-16 08:15:37 +01:00
Sebastian Huber
9c1490aac3
LOCKING(9): Update to current FreeBSD version
2017-11-16 08:11:42 +01:00
Christian Mauderer
4613db09fc
wpa_supplicant: Add lock.
2017-11-10 13:33:03 +01:00
Christian Mauderer
ee0c369cdd
wpa_supplicant: Move forking command into own file.
...
The malloc wrapper must not be disabled. Therefore the command that uses
malloc without a wrapper has to live in another file.
2017-11-10 13:33:03 +01:00
Sichen Zhao
ce2262ee28
Add wpa_supplicant_fork command.
...
Add fork command for wpa supplicant to start a new task.
2017-11-10 13:33:03 +01:00
Sichen Zhao
8f2267bbb9
Port wpa supplicant to RTEMS.
...
Add wpa_supplicant lib support and shell command support in RTEMS.
2017-11-10 13:33:03 +01:00
Sebastian Huber
23cd284af0
Add rtems_bsd_ifconfig_lo0()
2017-11-10 11:50:30 +01:00
Sebastian Huber
2fcf5aadd5
rtems-bsd-mutex: Update due to API changes
...
Update #3117 .
2017-10-24 12:19:28 +02:00