168 Commits

Author SHA1 Message Date
Sichen Zhao
9121570cf2 Port am335x usb driver to RTEMS.
Add FDT and umass support for am335x USB driver.

Now RTEMS can mount and open USB disk.
2017-07-13 07:30:06 +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
e28a8d01c1 Add LPC32XX touch screen driver 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
880a17cb0b Adding RTEMS support for FREEBSD TTY 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
c1205ee81e FDT(4): Port to RTEMS 2017-03-08 09:04:18 +01:00
Sebastian Huber
ae9e46d7c5 Fix dw_mmc dependencies 2017-03-01 10:49:05 +01:00
Sebastian Huber
045ff6e11c Add poll() and select() support for Termios 2017-02-28 10:54:50 +01:00
Kevin Kirspel
9f2205a3f5 Port LPC32XX Ethernet and USB OHCI to RTEMS 2017-02-14 09:40:01 +01:00
Kevin Kirspel
5382f63980 Add support for LPC32XX cache 2017-02-14 09:37:12 +01:00
Sebastian Huber
ee94f8a8ea rtems-bsd-mutex: Use thread queue name 2017-01-31 09:49:49 +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
Sebastian Huber
f11bfc2a5f rtems-bsd-mutex: Add SMP lock debug support 2017-01-11 14:01:58 +01:00
Sebastian Huber
851722b3cd Declare feature_present() 2017-01-10 14:00:53 +01:00
Sebastian Huber
64c663c0d1 ARP(8): Port to RTEMS 2017-01-10 11:03:32 +01:00
Sebastian Huber
0577772720 Update to FreeBSD head 2017-01-09
Git mirror commit 1f8e4a995a6ede4bdb24e6d335ccda2bdb0175ab.
2017-01-10 11:03:27 +01:00
Sebastian Huber
75b706fde4 Update to FreeBSD head 2016-12-10
Git mirror commit 80c55f08a05ab3b26a73b226ccb56adc3122a55c.
2017-01-10 09:53:34 +01:00
Sebastian Huber
c4e89a9125 VMSTAT(8): Port to RTEMS 2017-01-10 09:53:34 +01:00
Sebastian Huber
46f0b8bd51 Enable multi-cast routing support 2017-01-10 09:53:33 +01:00
Sebastian Huber
c40e45b75e Update to FreeBSD head 2016-08-23
Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
2017-01-10 09:53:31 +01:00
Sebastian Huber
546b38d684 Add BRIDGE(4) support to configuration 2016-12-15 09:53:07 +01:00
Sebastian Huber
c00312af93 Provide O_CLOEXEC 2016-11-09 10:04:35 +01:00
Sebastian Huber
8090fa00ec Provide CLOCK_UPTIME 2016-11-09 10:04:34 +01:00
Sebastian Huber
71a0436d14 Add thread fences to <machine/atomic.h> 2016-11-09 10:04:32 +01:00
Sebastian Huber
6ff1baa08d Add empty <machine/_kernel_lock.h> 2016-11-09 09:14:19 +01:00
Sebastian Huber
8b0bcb88e0 rtems-bsd-mutex: Optimize
Inline SMP lock acquire/release.  Avoid stack frame for hot path.
2016-11-09 09:13:55 +01:00
Sebastian Huber
0b08247a26 rtems-bsd-mutex: Update due to API changes 2016-11-03 11:18:27 +01:00
Christian Mauderer
632e278d69 rtemsbsd: Add reallocf to rtems_bsd_program. 2016-10-24 08:13:04 +02:00
Sebastian Huber
0ba419717b Add SIZE_T_MAX to <machine/rtems-bsd-user-space.h> 2016-10-24 08:11:24 +02:00
Sebastian Huber
f0aaa04240 Provide CLOCK_MONOTONIC_FAST 2016-10-24 08:09:00 +02:00
Sebastian Huber
390e1330cf Make <machine/atomic.h> available to user space
Enables use of <sys/refcount.h> in user space.
2016-10-24 08:08:59 +02:00
Sebastian Huber
02d344f4d0 rtems-bsd-mutex: Update due to API changes 2016-09-22 07:22:42 +02:00
Sebastian Huber
691ed15cba rtems-bsd-mutex: Use _Thread_queue_Surrender() 2016-08-11 12:37:16 +02:00
Christian Mauderer
bc9e939a4c pf: Add configuration via rc.conf. 2016-08-08 16:12:05 +02:00
Christian Mauderer
32a3dd1e43 pf: Add RTEMS_BSD_CONFIG_FIREWALL_xxx options. 2016-08-08 08:54:34 +02:00
Christian Mauderer
2fb3a360e7 freebsd: Add constant ipv6 addresses from vars.c.
This is necessary for a configuration without IPv6.
2016-08-04 15:44:06 +02:00
Christian Mauderer
7f86f6afc7 pfctl: Add rtems_bsd_command_pfctl. 2016-08-02 10:21:52 +02:00
Christian Mauderer
d31a3658d0 rtemsbsd: Add wrapper for open, fopen, malloc, ...
Add the following rtems_bsd_program_... wrapper:

* rtems_bsd_program_open
* rtems_bsd_program_socket
* rtems_bsd_program_close
* rtems_bsd_program_fopen
* rtems_bsd_program_fclose
* rtems_bsd_program_malloc
* rtems_bsd_program_calloc
* rtems_bsd_program_realloc
* rtems_bsd_program_free
* rtems_bsd_program_strdup
* rtems_bsd_program_vasprintf
* rtems_bsd_program_asprintf
2016-08-02 10:21:46 +02:00
Christian Mauderer
3d91340868 rtemsbsd: Add call to program with a data restore
This adds the rtems_bsd_program_call_main_width_data_restore function.
2016-08-02 10:21:38 +02:00
Christian Mauderer
a9bd4224e8 testsuite/pf01: Add test that links PF. 2016-08-01 14:02:04 +02:00
Sebastian Huber
bf7faad356 rtems-bsd-mutex: Update due to API changes 2016-07-28 08:07:14 +02:00
Chris Johns
95100121dc config: Fix telnetd configuration warning. 2016-07-19 08:12:41 +10:00
Chris Johns
34f6271425 Provide empty RTEMS_BSD_CFGDECL_.* defines if not used. 2016-07-01 16:43:56 +10:00
Chris Johns
65c65bb7a3 Add telnetd as service to rc.conf. 2016-07-01 15:49:52 +10:00
Chris Johns
f01b1f7209 Add RTEMS_BSD_CONFIG_DOMAIN_PAGE_MBUFS_SIZE.
The domain allocator page abd mbuf size can be configured by the
user using RTEMS_BSD_CONFIG_DOMAIN_PAGE_MBUFS_SIZE.
2016-06-30 11:42:49 +10:00
Chris Johns
912b685792 Make the LibBSD PID match getpid(). 2016-06-30 09:19:06 +10:00
Chris Johns
c980a04df5 Fix fomatting and C++ guard. 2016-06-30 09:18:21 +10:00