139 Commits

Author SHA1 Message Date
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
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
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
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
Sebastian Huber
ce8c7bba5b kvm: Include missing header file 2016-04-18 15:06:37 +02:00
Sebastian Huber
982f72fb46 syslog: Include missing header file 2016-04-18 14:54:41 +02:00
Sebastian Huber
58c1bf6b5d rtems-bsd-mutex: Update due to API changes 2016-04-06 14:55:56 +02:00
Sebastian Huber
a336c46301 Update due to Watchdog Handler changes 2016-03-14 09:25:51 +01:00
Sebastian Huber
9f81109456 Update due to chain API changes 2016-01-18 12:18:30 +01:00
Sebastian Huber
556a07ca44 DELAY(): Use rtems_counter_delay_nanoseconds() 2015-09-30 16:06:22 +02:00
Sebastian Huber
36a16f5c7f i386: Quick and dirty hack to get PCI working 2015-09-30 15:55:36 +02:00
Sebastian Huber
07ff2c1910 rtems-bsd-mutex: Update due to API changes 2015-07-24 10:42:35 +02:00
Sebastian Huber
b22ad9f4c5 rtems-bsd-mutex: Fix resource count updates 2015-06-23 08:58:58 +02:00
Chris Johns
59bc7c1f5f Remove #undefs and fix formatting. 2015-06-19 16:07:32 +10:00
Chris Johns
5e02888822 Add the TCPDUMP command. 2015-06-16 13:18:38 +10:00
Chris Johns
b5aca58594 Add error() to the BSD program support. 2015-06-16 13:16:37 +10:00
Chris Johns
59a9e6a5da Fix KVM symbol generator to remove warnings. 2015-06-16 13:15:49 +10:00
Chris Johns
1383c80c5a Add conditional support for RTEMS PCI to the waf build.
Check for the "rtems/pci.h" header and provide conditional build support
with waf to build for BSPs that do not have PCI support. The Makefile build
always defines HAVE_RTEMS_PCI_H which is the same state with this change.

The PCI calls still exist however they do nothing and return a constant.
Any PCI based driver that makes these calls on a BSP that does not have
PCI support will not work which is understandable. Either change the
driver or add PCI support the BSP.
2015-06-01 10:36:58 +10:00
Sebastian Huber
595b333ad2 Add INVARIANTS support 2015-05-20 15:03:32 +02:00
Sebastian Huber
8eaa39fcef Update due to API changes (timecounters) 2015-05-20 09:58:22 +02:00
Sebastian Huber
b3ff71e003 rtems-bsd-mutex: Use standard thread queues 2015-05-20 09:58:21 +02:00
Sebastian Huber
76395ec881 rtems-bsd-chunk: Include missing header file 2015-05-20 09:58:21 +02:00
Sebastian Huber
c0b0b3ed11 rtems-bsd-mutex: Update due to API changes 2015-04-23 14:55:42 +02:00
Sebastian Huber
c6e85efd7e Use signed integer type for ticks 2015-04-08 07:58:52 +02:00
Sebastian Huber
4ccf797155 Fix maxid and maxcpus sysctls
This prevents an infinte loop in netstat -m on SMP configurations.
2015-04-01 09:15:28 +02:00
Sebastian Huber
fc9e83bb68 mmc: Import MMC/SDCard support from libusb 2015-03-26 13:53:24 +01:00
Sebastian Huber
9bfcb86790 rtems-bsd-mutex: Support priority changes 2015-03-26 13:53:24 +01:00
Sebastian Huber
50553bcd8e CONDVAR(9): Use FreeBSD implementation 2015-03-24 15:20:57 +01:00
Sebastian Huber
8475e7aa0a SLEEPQUEUE(9): Port to RTEMS 2015-03-24 15:20:57 +01:00
Sebastian Huber
53b03a1a57 SLEEP(9): Port to RTEMS 2015-03-24 15:20:56 +01:00
Sebastian Huber
20b7d3d9c0 Update due to Newlib <sys/time.h> etc. changes 2015-03-24 15:20:56 +01:00
Sebastian Huber
8ed1b181aa rtems_bsd_mutex: SMP support via ISR locks 2015-03-06 14:58:13 +01:00
Sebastian Huber
19adb93558 rtems-bsd-cxx.cc: Fix include order 2015-03-06 14:58:13 +01:00
Sebastian Huber
5c0aa976d3 Add zerocopy sendto 2015-02-13 10:34:20 +01:00
Sebastian Huber
f18163088e rtems_bsd_mutex: Add missing ISR enable 2015-02-13 10:34:19 +01:00
Sebastian Huber
7eeb079d84 Update to FreeBSD 9.3 2015-02-13 10:34:19 +01:00
Sebastian Huber
5383ed4049 Add and use rtems_bsd_get_allocator_domain_size() 2015-02-13 10:34:18 +01:00
Sebastian Huber
513e2344de Add SMP sysctls 2015-01-29 08:51:47 +01:00
Sebastian Huber
3c302b62fd Add a simple page allocator 2015-01-29 08:51:43 +01:00
Sebastian Huber
8cdd1420c7 Add rtems_bsd_get_mac_address() 2015-01-21 15:00:19 +01:00
Sebastian Huber
eebe5762f4 ZONE(9): Honor cache alignment 2015-01-21 15:00:19 +01:00
Sebastian Huber
fb683f76b5 BUS_DMA(9): Support BUS_DMA_COHERENT 2015-01-21 15:00:19 +01:00