1183 Commits

Author SHA1 Message Date
Chris Johns
affed5e3f5 Add BDS command support headers. 2015-06-16 13:20:15 +10:00
Chris Johns
06cd120921 TCPDUMP and PCAP fixes to defines. 2015-06-16 13:19:32 +10:00
Chris Johns
5e02888822 Add the TCPDUMP command. 2015-06-16 13:18:38 +10:00
Chris Johns
cff78462ff Add the TCPDUMP command. 2015-06-16 13:17:56 +10:00
Chris Johns
50500b5e97 The BPF dev node needs a minor number for tcpdump. 2015-06-16 13:17:19 +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
7c8c0eb134 Provide the missing cdecl for _nsdispatch. 2015-06-16 12:53:46 +10:00
Chris Johns
8440506ee8 Add tcpdump and libpcap.
- Update the file builder generator to handle generator specific cflags and
  includes. The tcpdump and libpcap have localised headers and need specific
  headers paths to see them. There are also module specific flags and these
  need to be passed to the lex and yacc generators.

- Add the tcpdump support.
2015-06-15 17:42:23 +10:00
Chris Johns
4517fa337e Update LibBSD doco. 2015-06-01 10:51:57 +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
Chris Johns
e35a65e995 Regenerate with FreeBSD lex, yacc, and rpcgen tools.
Use the FreeBSD lex, yacc and rpcgen tools to generate the various
sources used in LibBSD. The change also removes an RTEMS specific change
added when using other hosts operating systems to generate the files.

LibBSD should use FreeBSD version of the tools to generate the source
because the FreeBSD kernel is developed using them.

The change is supported by the waf build which disables generating
the files unless enabled. I am not sure the effect with the Makefile
build support.
2015-05-27 09:40:30 +10:00
Chris Johns
11ec9884cf waf: Update the README.waf with better documentation. 2015-05-24 12:31:06 +10:00
Chris Johns
84288f4279 waf: Check for dlfcn.h header is availavble. 2015-05-22 12:18:31 +10:00
Chris Johns
0768880d75 waf: Add install support.
Install to the --prefix path passed to configure.
2015-05-21 17:01:34 +10:00
Chris Johns
56d787f194 wscript: Regenerate 2015-05-21 09:31:48 +10:00
Chris Johns
49637856b7 waf: Add network configuration support.
Add support to parse the config.inc default file for a network configuration
or allow the user to specify their own via a configure option.

Update to build the kvm-symbol's generated file.
2015-05-21 09:30:28 +10:00
Chris Johns
aca5496bd9 waf: Change to show how to only update the rtems_waf submodule. 2015-05-21 09:29:50 +10:00
Sebastian Huber
ada520c57b Update freebsd-org submodule 2015-05-20 15:03:32 +02:00
Sebastian Huber
595b333ad2 Add INVARIANTS support 2015-05-20 15:03:32 +02:00
Sebastian Huber
7d44707145 Fix struct ucred warnings 2015-05-20 15:03:32 +02:00
Chris Johns
8b102105ee wscript: Regenerate. 2015-05-20 22:00:11 +10:00
Chris Johns
e9aa953789 waf: Add warnings and auto-regen options. 2015-05-20 22:00:11 +10:00
Sebastian Huber
32bbd337ae mghttpd: Install header file 2015-05-20 11:14:51 +02:00
Chris Johns
b14fd1fcba Add a README for using waf. 2015-05-20 18:21:38 +10:00
Sebastian Huber
b45c75ce99 sys/time.h: Add missing define and declaration 2015-05-20 10:13:56 +02:00
Sebastian Huber
e65165bc2c SLEEPQUEUE(9): Update due to RTEMS API changes 2015-05-20 10:13:49 +02:00
Sebastian Huber
8eaa39fcef Update due to API changes (timecounters) 2015-05-20 09:58:22 +02:00
Sebastian Huber
f2cb584a61 Update rtems_bsd_force_select_timeout() 2015-05-20 09:58:22 +02:00
Sebastian Huber
1ee85a59b7 SLEEPQUEUE(9): Update due to API changes 2015-05-20 09:58:22 +02:00
Sebastian Huber
c2f2392028 SLEEPQUEUE(9): Avoid Giant lock 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
165dd8ea12 Update to FreeBSD Stable/9 2015-04-08 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
Chris Johns
feaf877392 wscript: Generate. 2015-05-20 17:45:38 +10:00
Chris Johns
5ba6949578 Add support to build using waf. 2015-05-20 17:45:16 +10:00
Chris Johns
66ec94a3fc Makefile: Regenerate 2015-05-18 11:00:33 +10:00
Chris Johns
6dc8649393 freebsd-to-rtems: Fix the Makefile test generator.
This removes the make warnings.
2015-05-16 16:52:52 +10:00
Sebastian Huber
4dab3a04bb ZONE(9): Disable uma_prealloc() 2015-05-15 15:40:58 +02:00
Sebastian Huber
278bc93a59 usb: Import USB support from libusb 2015-05-15 15:40:55 +02:00
Sebastian Huber
a0828f98d2 Makefile: Regenerate 2015-05-15 15:40:49 +02:00
Sebastian Huber
07997610ba Disable IEEE 802.11 module 2015-05-15 15:40:37 +02:00
Chris Johns
314be23eec freebsd-to-rtems: Refactor the conversion support to allow multiples build systems.
Split the freebsd-to-rtems.py into separate parts to allow more than
a single build system generator.
2015-05-15 14:08:42 +02:00
Sebastian Huber
67f84974ad SLEEPQUEUE(9): Update due to API changes 2015-04-23 14:56:08 +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
8b722dba65 SLEEPQUEUE(9): Include missing header file 2015-04-08 07:58:52 +02:00
Sebastian Huber
4f75a78165 mghttpd: Import from RTEMS 2015-04-08 07:58:38 +02:00
Sebastian Huber
0c395c0502 Add generated files
This avoids dependencies on a particular generator tool version.  On
MinGW and Cygwin hosts these tools tend to be outdated or somehow
incapable.
2015-04-08 07:57:05 +02:00
Sebastian Huber
da5e3a21d0 if_dwc: Avoid mbuf use after free 2015-04-08 07:57:05 +02:00