669 Commits

Author SHA1 Message Date
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
427ee3e9eb Redirect FREEBSD's kern_yield to RTEMS sched_yield 2017-05-19 07:24:30 +02:00
Kevin Kirspel
fb2aa6ea99 Add bitcount inlinesfor RTEMS. These are found in FREEBSDs types.h 2017-05-19 07:24:30 +02:00
Kevin Kirspel
18cf4282c4 Modify FREEBSD EVDEV driver for use in RTEMS 2017-05-19 07:24:30 +02:00
Kevin Kirspel
b51279b544 Modify FREEBSD USB keyboard drivers for use in RTEMS 2017-05-19 07:24:30 +02:00
Kevin Kirspel
a7415b7f2f Add USB UGEN support for RTEMS 2017-05-19 07:24:30 +02:00
Kevin Kirspel
3e7de301c1 Add FREEBSD USB input device files 2017-05-19 07:24:29 +02:00
Kevin Kirspel
41d2784207 Add FREEBSD keyboard driver files 2017-05-19 07:24:29 +02:00
Kevin Kirspel
67de3b57f4 Adding EVDEV FREEBSD files 2017-05-19 07:24:29 +02:00
Kevin Kirspel
817cbf7201 devfs: Fix some issues
Fix issue with cdev private data usage with RTEMS iop structure. Add
support for cdev alias device names. Add support for cdev fstat.
2017-05-12 14:20:33 +02:00
Kevin Kirspel
5040ee564c Update USB Serial Driver for use with RTEMS 2017-05-12 14:18:38 +02:00
Kevin Kirspel
746d74b516 Add USB headers to support USB Serial drivers 2017-05-12 14:18:38 +02:00
Kevin Kirspel
286c391e39 Adding FREEBSD USB Serial Drivers 2017-05-12 14:18:38 +02:00
Kevin Kirspel
4a8f953f62 Updating FREEBSD for tty support 2017-05-11 11:15:41 +02:00
Kevin Kirspel
567cce1260 Updating STTY command for use in RTEMS shell 2017-05-11 11:15:41 +02:00
Kevin Kirspel
f6c52e086d Adding tty support files from FREEBSD tree 2017-05-11 11:15:41 +02:00
Kevin Kirspel
67cd18e85a Adding stty command files from FREEBSD tree 2017-05-11 11:15:41 +02:00
Sebastian Huber
de8a76da2f Update to FreeBSD head 2017-04-04
Git mirror commit 642b174daddbd0efd9bb5f242c43f4ab4db6869f.
2017-04-04 14:46:23 +02:00
Sebastian Huber
0732183638 Fix SOCK_CLOEXEC with socket() and socketpair()
Remove SOCK_CLOEXEC flag to get a valid socket type, e.g. to avoid a
EPROTOTYPE in case of socket(..., SOCK_DGRAM | SOCK_CLOEXEC, ...).
2017-03-14 07:15:34 +01:00
Sebastian Huber
5f3722a8d9 if_tsec: Enable FDT support 2017-03-08 09:05:05 +01:00
Sebastian Huber
c1205ee81e FDT(4): Port to RTEMS 2017-03-08 09:04:18 +01:00
Sebastian Huber
f0dd0c506a FDT(4): Import from FreeBSD 2017-03-08 09:00:03 +01:00
Sebastian Huber
18a623e5b2 Provide strtoq() and strtouq() 2017-03-06 12:09:54 +01:00
Sebastian Huber
08f48819f7 NETSTAT(1): Disable unused functions 2017-03-06 12:07:13 +01:00
Sebastian Huber
6bc5190829 Disable unused pfil_try_rlock() 2017-03-06 12:06:38 +01:00
Sebastian Huber
5268338be3 Provide sbuf_hexdump() 2017-03-06 12:06:19 +01:00
Sebastian Huber
57ba8ad63c Avoid kern_unsetenv() 2017-03-06 12:05:54 +01:00
Sebastian Huber
5e093a5bcb SLEEPQUEUE(9): Fix absolute timeouts
The FreeBSD kernel timeouts are always based on the uptime.  Thus, we
have to use the relative watchdog.  C_ABSOLUTE just means that the
timeout value is already an uptime value.

https://lists.freebsd.org/pipermail/freebsd-hackers/2017-February/050572.html
2017-02-28 10:07:30 +01:00
Sebastian Huber
a739190333 SYSCTL(8): Fix command line option processing 2017-02-14 11:56:13 +01:00
Kevin Kirspel
9f2205a3f5 Port LPC32XX Ethernet and USB OHCI to RTEMS 2017-02-14 09:40:01 +01:00
Kevin Kirspel
803a4950f2 Adding LPC32XX ethernet driver support 2017-02-14 09:37:12 +01:00
Kevin Kirspel
ea395a736d Add ordered Nexus devices
Add support for ordering the initialization of Nexus devices. This can
be used to make sure a device is initialized before a dependant device.
2017-02-14 09:36:40 +01:00
Sebastian Huber
1fd5083234 SLEEPQUEUE(9): Add wmesg to thread wait info 2017-01-31 09:50:45 +01:00
Sebastian Huber
ee94f8a8ea rtems-bsd-mutex: Use thread queue name 2017-01-31 09:49:49 +01:00
Christian Mauderer
c6b85e8ce8 userspace tools: Regenerate headers. 2017-01-17 12:51:30 +01:00
Christian Mauderer
ecda18104e freebsd/wlanstats: Port to FreeBSD. 2017-01-17 12:51:30 +01:00
Christian Mauderer
d415406e34 freebsd/wlanstats: Import from FreeBSD. 2017-01-17 12:50:58 +01:00
Christian Mauderer
edf32f211c rtwn: Port to RTEMS 2017-01-17 12:50:58 +01:00
Christian Mauderer
0cbb715ade rtwn: Import from FreeBSD. 2017-01-17 12:50:58 +01:00
Christian Mauderer
9bc41d057e lib80211/regdomain: Port to RTEMS. 2017-01-17 12:50:58 +01:00
Christian Mauderer
bce3e5eea1 lib80211/regdomain: Import from FreeBSD. 2017-01-17 12:50:58 +01:00
Christian Mauderer
5c3223f138 ifconfig/wlan, expat, lib80211: Port to RTEMS. 2017-01-17 12:50:58 +01:00
Christian Mauderer
23895395ec ifconfig/wlan, expat, lib80211: Import from FreeBSD. 2017-01-17 12:50:57 +01:00
Christian Mauderer
59338de0a5 Port USB and USB WLAN. 2017-01-17 12:50:57 +01:00
Christian Mauderer
d145449b74 Import USB and USB WLAN from FreeBSD. 2017-01-17 12:50:57 +01:00
Christian Mauderer
66eb1437f2 firmware: Port to RTEMS. 2017-01-17 12:50:57 +01:00
Christian Mauderer
2e8dd24b7c firmware: Import from FreeBSD. 2017-01-17 12:50:57 +01:00
Christian Mauderer
a241ea8e92 Import IEEE 802.11 from FreeBSD. 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
fb288fabea ROUTE(8): Disable routing socket timeout support
FIXME: This reverts the following change in FreeBSD.

commit 76a39ff8dc5e1f7bc8a065115ec3837761ed0600
Author: ae <ae@FreeBSD.org>
Date:   Wed Jul 27 08:26:34 2016 +0000

    Due to dropped mbuf in netisr queue route(8) can fall into infinity
    loop of reading the rtsock's feed. When it used by some scripts,
    this leads to growing number of not finished route(8) instances and
    thus growing number of rtsock consumers. Add SIGALRM handler to
    prevent this.
2017-01-11 14:15:31 +01:00