450 Commits

Author SHA1 Message Date
Sebastian Huber
e5aa554ea1 rtems-bsd-mutex: Update due to API changes 2016-07-27 08:51:53 +02:00
Chris Johns
95100121dc config: Fix telnetd configuration warning. 2016-07-19 08:12:41 +10:00
Chris Johns
761ae78e05 Make the license message viewable with a verbose option.
The license details can be viewed if you mount with a -v option:

 # mount -i nfs -o "-v" 1.2.3.4:/mnt /mnt
2016-07-06 10:56:23 +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
fc26479566 Add ftpd initailize comment. 2016-06-30 13:35:37 +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
dc5b267aaa Fix wording and spelling. 2016-06-30 09:25:13 +10:00
Chris Johns
573b198243 Add DHCP support to rc.conf. 2016-06-30 09:19:52 +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
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
4a2b84469e Default syslog priority to INFO. Add rtems_setlogpriority to configure the priority.
The rc.conf has 'syslog_priority' where the priority is the name, eg

 syslog_priority="debug"

sets the priority to "debug".
2016-06-30 09:14:55 +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
c2ec5f188b Print the service when starting. 2016-06-28 13:31:11 +10:00
Chris Johns
f588325390 Change the Nexus bus to defines and have the BSP declare them. 2016-06-28 13:30:44 +10:00
Chris Johns
459d67d537 Move the Nexus bus driver decls available to users. 2016-06-27 13:35:08 +10:00
Chris Johns
55c564a028 Refactor rc.conf processing to be services based. 2016-06-27 13:32:24 +10:00
Chris Johns
b23da3150b Change LibBSD to use shared interrupts. 2016-06-27 13:32:24 +10:00
Chris Johns
130fa3534f Make the domain allocation size global to allow it to set in tests.
Some BSPs with multiple NIC locked in the tests due to not enough
memory. This provides a simple per BSP way to increase the memory
size.
2016-06-27 13:32:24 +10:00
Chris Johns
a0e49f9ae9 Add functions used the bridge and tap interfaces. 2016-06-27 13:32:24 +10:00
Sebastian Huber
32fd702138 Update due to RTEMS printer API changes 2016-06-23 14:08:02 +02:00
Sebastian Huber
58c4e1c592 nfsclient: Port to LibBSD 2016-06-10 14:15:02 +02:00
Sebastian Huber
4464594567 nfsclient: Import from RTEMS
RTEMS Git commit 251c94d3d3d27e0039f01b718e5c2eb06f39fdf7.
2016-06-10 14:13:42 +02:00
Sebastian Huber
68d406b3b8 ftpfs: Import from RTEMS
RTEMS Git commit 251c94d3d3d27e0039f01b718e5c2eb06f39fdf7.
2016-06-10 14:09:13 +02:00
Sebastian Huber
70d52b8d19 rtems-bsd-mutex: Update due to API changes 2016-05-30 16:06:42 +02:00
Sebastian Huber
04762cf575 Directly use <machine/endian.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
b6f6deb883 Directly use <sys/_types.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
3d1e767c8f Directly use <sys/types.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
2017a6df2b Directly use <sys/time.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
f57582265c rtems-bsd-rc-conf.h: Add missing include 2016-05-30 16:06:41 +02:00
Sebastian Huber
43a14eba2e Update due to API changes 2016-05-25 13:11:59 +02:00
Sebastian Huber
9546d905c2 rtems-bsd-mutex: Update due to API changes 2016-05-25 13:09:58 +02:00
Chris Johns
d8e6b4c170 rc.conf: Add the net directives by default. 2016-05-18 19:03:39 +10:00
Chris Johns
84665b5cef rc.conf: Fix the wild card regex for ifconfig_ 2016-05-18 19:03:20 +10:00
Chris Johns
f9fa038c94 Fix memory leak in rc.conf processing. 2016-05-18 15:21:09 +10:00
Chris Johns
05d47ae865 Clean up whitespace. 2016-05-18 15:20:36 +10: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
81e5ff4be6 Add kernel namespace exception for mbstat 2016-05-06 14:49:15 +02:00
Sebastian Huber
edb5e4b023 Add kernel namespace exceptions
These names correspond to sysctls.
2016-05-06 14:40:02 +02:00
Sebastian Huber
b8f127e64a Update kernel namespace 2016-05-06 14:10:40 +02:00
Sebastian Huber
54a577d44f subr_prf.c: Port to RTEMS 2016-05-06 14:07:31 +02:00
Sebastian Huber
0f5dd1cc38 Add script to create the kernel namespace header 2016-05-06 08:56:03 +02:00
Chris Johns
83eb07c4d6 Add sbin/sysctl 2016-05-06 15:07:56 +10:00
Sebastian Huber
e58b898d69 telnetd: Use syslog() instead of printk() 2016-05-04 11:49:34 +02:00
Chris Johns
4b127e7cec Add RealTek Gig PHY. 2016-05-04 16:02:06 +10:00
Chris Johns
b8d1fe069b pc386: Add RealTek network driver to the nexus bus. 2016-04-28 13:49:40 +10:00
Sebastian Huber
5784e6d9c7 rtems/bsd/bsd.h: Documentation 2016-04-27 09:45:26 +02:00