255 Commits

Author SHA1 Message Date
Chris Johns
f9798adc4d Add a stats report command.
The report shows the level of changes we have made to the FreeBSD code.
2016-05-31 09:49:31 +10:00
Chris Johns
533808975e Fix coding to be CamelCase. 2016-05-04 16:24:11 +10:00
Chris Johns
f1fcdba863 waf: Refector the builder to work with Python3 and UTF-8 source files.
Python 3 requires better UTF-8 handling of files and FreeBSD has UTF-8
characters in some files.

Refactor builder.py to clean up the code and remove the need to have
a temporary file. Update other scripts to use the new code.
2016-04-27 12:08:23 +10:00
Chris Johns
97c5024a79 Add RTEMS version support, update all python to 2 and 3.
Add support to force the RTEMS version. This remove the need for using
the --rtems-version command line option if the automatic detection fails.

Update all python code to support python 2 and 3.

Update rtems_waf to the latest version to support the RTEMS version,
check environment variables and to display the CC version.

Sort all tests. I think the unsorted list is dependent on the version
of python and so would result in repo noise as if it regenerted.
2016-04-18 10:53:20 +10:00
Sebastian Huber
df811cf76c Makefile: Delete
Use waf instead.
2015-09-25 14:07:00 +02: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
5ba6949578 Add support to build using waf. 2015-05-20 17:45:16 +10: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
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
0c10bd5da2 if_dwc: Import from FreeBSD 2015-04-01 09:15:29 +02:00
Sebastian Huber
710d2a1e1d mii: Add phy devices 2015-04-01 09:15:29 +02:00
Sebastian Huber
49b9c5e2df LAGG(4): Enable and test 2015-03-30 23:02:15 +02:00
Sebastian Huber
012c263eb1 VLAN(4): Enable and test 2015-03-30 23:02:15 +02:00
Sebastian Huber
d0ecc91ac1 media01: New test 2015-03-26 13:53:24 +01:00
Sebastian Huber
fc9e83bb68 mmc: Import MMC/SDCard support from libusb 2015-03-26 13:53:24 +01:00
Sebastian Huber
5bcdc25e72 smp01: New test 2015-03-24 15:20:57 +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
67e7ea5433 Special case for <rtems/bsd/zerocopy.h> 2015-03-24 15:20:56 +01:00
Sebastian Huber
f59a2da89c Use C11 and C++11
This is necessary to use <stdatomic.h> and <atomic>.
2015-03-06 14:58:13 +01:00
Sebastian Huber
5c0aa976d3 Add zerocopy sendto 2015-02-13 10:34:20 +01:00
Sebastian Huber
948b1a5b57 freebsd-to-rtems.py: Fix revert includes 2015-02-13 10:34:19 +01:00
Sebastian Huber
cf20101e33 freebsd-to-rtems.py: Change default directories 2015-02-13 10:34:18 +01:00
Sebastian Huber
8fe59fe287 if_tsec: Add Nexus support 2015-02-13 10:34:18 +01:00
Sebastian Huber
5383ed4049 Add and use rtems_bsd_get_allocator_domain_size() 2015-02-13 10:34:18 +01:00
Sebastian Huber
3c302b62fd Add a simple page allocator 2015-01-29 08:51:43 +01:00
Sebastian Huber
dae9f66600 zy7_slcr: Import from FreeBSD 2015-01-21 15:00:20 +01:00
Sebastian Huber
946611a1af e1000phy: Import from FreeBSD 2015-01-21 15:00:20 +01:00
Sebastian Huber
b8e0c66e5f if_cgem: Import from FreeBSD 2015-01-21 15:00:19 +01:00
Sebastian Huber
8cdd1420c7 Add rtems_bsd_get_mac_address() 2015-01-21 15:00:19 +01:00
Sebastian Huber
33a15c304b Add and use rtems_bsd_get_task_stack_size() 2015-01-20 09:19:04 +01:00
Sebastian Huber
91ea7ea614 Add and use rtems_bsd_get_task_priority() 2015-01-20 09:19:00 +01:00
Sebastian Huber
026abfb7ae Add rtems_mdns_gethostname() 2014-11-10 08:28:38 +01:00
Sebastian Huber
7a3fe8ef43 Add rtems_mdns_sethostname()
Use it to set the multi-cast hostname of the default mDNS resolver
instance via sethostname().
2014-11-06 08:29:57 +01:00
Sebastian Huber
50e82a6d15 HOSTNAME(1): Import from FreeBSD 2014-11-05 14:28:11 +01:00
Sebastian Huber
7ba9b7f24c Add mDNS support for name service dispatcher 2014-11-04 13:02:56 +01:00
Sebastian Huber
54ed53794b Support sethostname() and gethostname() 2014-10-24 09:47:58 +02:00
Sebastian Huber
573b4cd62f ppp: Port to new stack 2014-10-08 15:03:29 +02:00
Sebastian Huber
6cfc98de31 nexus: Use a linker set for the devices 2014-10-08 14:59:52 +02:00
Sebastian Huber
a2a3a01bdf Provide new rtems_bsdnet_rtrequest()
Delete superfluous code.
2014-10-08 14:51:20 +02:00
Sebastian Huber
74a133dbac Makefile: Remove superfluous include path 2014-10-08 14:51:20 +02:00
Sebastian Huber
b8021fdcf6 critical_enter/exit(): Use inline function 2014-09-30 09:49:43 +02:00
Sebastian Huber
8176af1da7 rtems_bsd_mutex: Optimize 2014-09-24 16:26:57 +02:00
Sebastian Huber
be43b79fca Replace RTEMS objects with custom implementation
Performance analysis revealed that the standard RTEMS objects are a
major bottleneck.  The object get mechanism and attribute checks at
runtime have a significant overhead.  Use a custom implementation for
synchronization primitives.  This drops also the size of the
synchronization primitives considerably.
2014-09-23 10:03:10 +02:00
Sebastian Huber
9a937f4ddb Disable IPsec
IPsec has a significant performance impact.  Disable it for now since is
only partially supported and untested.
2014-09-23 10:03:10 +02:00
Sebastian Huber
dce8247e38 Import and use subr_lock.c 2014-09-22 16:50:44 +02:00
Sebastian Huber
71d8a2784a Install missing header files 2014-09-22 16:50:44 +02:00