45 Commits

Author SHA1 Message Date
Sebastian Huber
c40e45b75e Update to FreeBSD head 2016-08-23
Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
2017-01-10 09:53:31 +01:00
Kevin Kirspel
b1580fb039 PIPE(2): Port to RTEMS 2016-12-23 08:26:14 +01:00
Chris Johns
f7a4107c6f Add a RTEMS Debugger TCP remote transport.
The patch also adds support to libbsd's build system making source
conditional on a configure check. The debugger support is not
available on all architectures and this feature lets us test if
is avaliable.
2016-11-29 15:27:23 +11:00
Sebastian Huber
34545adafd Use -Wno-pointer-sign
Pointer sign warnings are quite common in FreeBSD code.
2016-11-14 11:00:33 +01:00
Sebastian Huber
6254bf40b3 SDHCI(4): Delete
Delete heavily modified SDHCI(4) support.  It must be re-imported from a
later FreeBSD version on demand.
2016-11-09 10:26:17 +01:00
Sebastian Huber
a9d38f5306 Remove AppleTalk support
Prepare update to FreeBSD 11.
2016-10-13 07:23:03 +02:00
Sebastian Huber
ec5b97bed1 usb01: Simplify test program 2016-09-28 15:33:50 +02:00
Sebastian Huber
8eb888394a Split rtemsbsd/rtems/rtems-program.c
This improves garbage collection by the linker.
2016-09-28 15:00:19 +02:00
Sebastian Huber
10e9e058c0 Split rtems-bsd-kernel-program.c
Separate kernel and user space parts.
2016-09-28 14:50:40 +02:00
Sebastian Huber
299d4ba7c3 Build rtems-bsd-shell-pfctl.c 2016-09-28 14:39:32 +02:00
Sebastian Huber
d9fe0617ee Split rtems-bsd-shell-netcmds.c
This improves garbage collection by the linker.
2016-09-28 13:23:16 +02:00
Sebastian Huber
7f75b564fc Port getdomainname() to RTEMS 2016-09-07 15:43:44 +02:00
Christian Mauderer
bc9e939a4c pf: Add configuration via rc.conf. 2016-08-08 16:12:05 +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
7aaa9a19d1 testsuite/pf02: Add interactive pf test. 2016-08-03 13:58:38 +02:00
Christian Mauderer
c79290aba6 pfctl: build files. 2016-08-02 10:21:52 +02:00
Christian Mauderer
fa43d6a7ea testsuite/syscalls01: Split out program01 part.
This allows to use normal functions for sockets and similar while
allowing to test the upcoming rtems_bsd_program_opan/close/... for the
program part.
2016-08-02 10:20:51 +02:00
Christian Mauderer
a9bd4224e8 testsuite/pf01: Add test that links PF. 2016-08-01 14:02:04 +02:00
Christian Mauderer
8dacfe492e testsuite/cdev01: Add test for cdev functions. 2016-08-01 14:02:04 +02:00
Christian Mauderer
9a01ebf7d7 kern_conf.c: Adapt for RTEMS. 2016-08-01 14:02:04 +02:00
Christian Mauderer
b5db3321b5 rtemsbsd/devfs: Add. 2016-08-01 14:02:04 +02: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
45960a350d Add rtems_get_route to fetch a specific route from the routing tables. 2016-06-30 09:17:21 +10:00
Chris Johns
90873cc802 Add ftpd as a service. Add rtems-bsd-config.h for app libbsd set up. 2016-06-28 13:32:01 +10:00
Chris Johns
7439724ac3 Add a services base test. 2016-06-27 13:32:24 +10:00
Chris Johns
32ceb14ee2 Add support for long command lines and fix some shell rules on Windows. 2016-06-16 13:33:06 +10:00
Sebastian Huber
58c4e1c592 nfsclient: Port to LibBSD 2016-06-10 14:15:02 +02:00
Sebastian Huber
a037da67c6 XDR(3): Port to RTEMS 2016-06-10 14:10:26 +02:00
Sebastian Huber
9880635f2e RPC(3): Port to RTEMS 2016-06-10 14:09:54 +02:00
Sebastian Huber
68d406b3b8 ftpfs: Import from RTEMS
RTEMS Git commit 251c94d3d3d27e0039f01b718e5c2eb06f39fdf7.
2016-06-10 14:09:13 +02:00
Chris Johns
f5c6651da8 Add support for rc.conf(5) initialisation.
Provide user support for rc.conf(5) so a user can create a suitable
/etc/rc.conf file to initialise libbsd.

This patch by default adds basic networking support:

 cloned_interfaces
 ifconfig_'interface'
 defaultrouter
 hostname

Refer to FreeBSD documentation for examples.

Users can make a single call to have /etc/rc.conf processed, or pass a
file name to a specific configuration file or a text string with line
feeds can be passed to the scripting version of the interface.

The rc.conf support is implemented in terms of directive handlers that
are called based on a regular expression. The design allows new handlers
to be added as needed.

Line concatenation is still to be implemented.
2016-05-18 13:49:17 +10:00
Sebastian Huber
5b4394f3c8 Add namespace support for kvm 2016-05-06 21:41:21 +02:00
Sebastian Huber
5b1f20b73f Rename files for kernel namespace script
This makes it easier to create the kernel namespace header.
2016-05-06 21:41:20 +02:00
Sebastian Huber
54a577d44f subr_prf.c: Port to RTEMS 2016-05-06 14:07:31 +02:00
Sebastian Huber
ffbac33988 Revert "Move network-config.h to the top of the testsuite include path."
This reverts commit a51d0fea6880046300fcf466a767f88eab9a6f9a.
2016-05-06 08:04:51 +02:00
Chris Johns
a51d0fea68 Move network-config.h to the top of the testsuite include path. 2016-05-06 15:44:21 +10:00
Chris Johns
83eb07c4d6 Add sbin/sysctl 2016-05-06 15:07:56 +10:00
Chris Johns
4b127e7cec Add RealTek Gig PHY. 2016-05-04 16:02:06 +10:00
Sebastian Huber
23c7ab408b Delete dummy IRQ support
Architectures and BSPs which want to use libbsd must provide the
required interfaces.
2016-04-27 09:52:58 +02:00
Sebastian Huber
5b93cc84b4 Add root bus support functions 2016-04-26 15:20:59 +02:00
Sebastian Huber
00c87925a9 Initialize interrupt server early
This enables its use before the Nexus device exists.
2016-04-26 15:20:59 +02:00
Chris Johns
5d37f0ea66 waf: Check for no FreeBSD options being supplied. 2016-04-26 14:31:38 +10:00
Chris Johns
e1e10cddee waf: Add the ability to set FreeBSD options on the configure command line.
Add --freebsd-options to add specific FreeBSD compile time options to
the build. This is a developer tool.
2016-04-23 17:37:27 +10:00
Chris Johns
051ef305f7 waf: Move the generated content to libbsd_waf.py. 2016-04-20 18:22:39 +10:00