272 Commits

Author SHA1 Message Date
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
Sebastian Huber
e846288593 Add rtems_bsd_set_if_input() 2017-10-23 09:24:06 +02:00
Sebastian Huber
64163f3023 Initialize BSD user extension earlier 2017-10-20 14:59:55 +02:00
Sebastian Huber
62c8ca0ead Fix INVARIANTS support 2017-10-20 14:59:55 +02:00
Sebastian Huber
91fb6e3753 rtems-kernel-page: Reclaim pages earlier 2017-10-20 14:59:54 +02:00
Sebastian Huber
7533adcf09 rtems-kernel-page: Add used pages counter 2017-10-20 14:59:54 +02:00
Sebastian Huber
b46916339b Generalize bsp_fdt_map_intr()
Update #3090.
2017-09-22 14:41:53 +02:00
Sebastian Huber
894c965d95 Support reference counting for file descriptors
Close #3132.
2017-09-15 12:46:57 +02:00
Sebastian Huber
666a56883a Include missing <string.h> and <limits.h>
Fix warnings.

Update #2132.
Update #2133.
2017-08-25 14:23:50 +02:00
Sichen Zhao
097ccba6b0 Enable the WEP encrypted WiFi.
Now rtems can connnect WiFi via WEP on rtl8188eu chip.
2017-08-02 08:30:55 +02:00
Sebastian Huber
83574df474 termios: Interrupt server API changes 2017-07-12 09:06:55 +02:00
Sebastian Huber
378b5c2fa6 Use LOG_EMERG for panic() 2017-07-10 08:33:46 +02:00
Sebastian Huber
3c967ca238 Use <sys/lock.h> provided by Newlib 2017-06-08 13:20:09 +02:00
Sebastian Huber
02373194fe Update due to Newlib 2017-06-07 changes
The following files are now provided by Newlib:

  * arpa/inet.h
  * net/if.h
  * netinet/in.h
  * netinet/tcp.h
  * sys/socket.h
  * sys/uio.h
  * sys/un.h

The <sys/param.h> and <sys/cpuset.h> are now compatible enough to be
used directly.

Update #2833.
2017-06-08 13:19:54 +02:00
Kevin Kirspel
9d4afe90bc Add keyboard driver set variable 2017-05-19 07:24:30 +02:00
Kevin Kirspel
880a17cb0b Adding RTEMS support for FREEBSD TTY 2017-05-11 11:15:41 +02:00
Chris Johns
53914f2774 rc_conf: Move the defaultroute_delay to the defaultroute processing.
If no default route is found atfer the delay timeout set the
defaultrouter value if present.
2017-04-27 14:58:09 +10:00
Chris Johns
443757313e rc_conf: Add support for ifconfig_<interface>_alias[0-9]+.
The interface alias allows extra IP addresses to be set on and
interface and it also allows the MAC address to be set.

Examples:
  ifconfig_em0="inet 10.10.5.33 netmask 255.255.255.0"
  ifconfig_em0_alias0="ether 10:22:33:44:55:66"
  ifconfig_em0_alias1="inet 10.1.1.111 netmask 0xffffffff"
2017-04-27 13:57:28 +10:00
Chris Johns
43c65f52ee rc_conf: Do not use a local variable for the rc_conf context.
If a network error occurs or there is no waiter on rc_conf
processing the worker thread is left holding a local stack
struct ater the call has returned. Allocate on the heap.
2017-04-26 17:43:30 +10:00
Chris Johns
145a821cb8 rc_conf: Minor clean up in the net services. 2017-04-26 17:43:19 +10:00
Sebastian Huber
c1205ee81e FDT(4): Port to RTEMS 2017-03-08 09:04:18 +01:00
Sebastian Huber
045ff6e11c Add poll() and select() support for Termios 2017-02-28 10:54:50 +01:00
Christian Mauderer
ecda18104e freebsd/wlanstats: Port to FreeBSD. 2017-01-17 12:51:30 +01:00
Christian Mauderer
9bc41d057e lib80211/regdomain: Port to RTEMS. 2017-01-17 12:50:58 +01:00
Christian Mauderer
e9a8b5a214 wlan ratectl and sta: Call init. 2017-01-17 12:50:58 +01:00
Christian Mauderer
efc782bd1c Port IEEE 802.11. 2017-01-17 12:50:57 +01:00
Sebastian Huber
172f2acb2b Use thread name support
Update #2858.
2017-01-13 09:20:43 +01:00
Sebastian Huber
e5ef01ed89 rtems-bsd-mutex: Update due to API changes 2017-01-11 11:52:41 +01:00
Sebastian Huber
64c663c0d1 ARP(8): Port to RTEMS 2017-01-10 11:03:32 +01:00
Sebastian Huber
c4e89a9125 VMSTAT(8): Port to RTEMS 2017-01-10 09:53:34 +01:00
Sebastian Huber
c40e45b75e Update to FreeBSD head 2016-08-23
Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
2017-01-10 09:53:31 +01:00