15 Commits

Author SHA1 Message Date
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