100 Commits

Author SHA1 Message Date
Sebastian Huber
58c1bf6b5d rtems-bsd-mutex: Update due to API changes 2016-04-06 14:55:56 +02:00
Sebastian Huber
c5abeb5866 rtems-bsd-mutex: Fix mtx_destroy() 2016-04-06 14:54:32 +02:00
Sebastian Huber
d5b64f2704 Use RTEMS provided <sys/endian.h> 2015-11-17 14:43:06 +01:00
Sebastian Huber
dd96574e45 SOCKETPAIR(2): Port to RTEMS 2015-11-16 09:52:50 +01:00
Sebastian Huber
c1644467b1 Rename kernel space log() to _bsd_log()
This avoids a conflict with the standard math library log() function.
2015-11-10 10:23:35 +01:00
Sebastian Huber
b168f6972d BUS_SPACE(9): Use FreeBSD files for i386 arch 2015-09-29 11:05:31 +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
b5aca58594 Add error() to the BSD program support. 2015-06-16 13:16:37 +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
Sebastian Huber
b3ff71e003 rtems-bsd-mutex: Use standard thread queues 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
aee6864330 if_dwc: Add Altera Cyclone V support 2015-04-01 09:15:30 +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
9bfcb86790 rtems-bsd-mutex: Support priority changes 2015-03-26 13:53:24 +01:00
Sebastian Huber
8475e7aa0a SLEEPQUEUE(9): Port to RTEMS 2015-03-24 15:20:57 +01:00
Sebastian Huber
e5724f788a atomic.h: Fix for GCC version 5 and later 2015-03-09 14:20:45 +01:00
Sebastian Huber
8ed1b181aa rtems_bsd_mutex: SMP support via ISR locks 2015-03-06 14:58:13 +01:00
Sebastian Huber
e5a017550a atomic.h: Use <stdatomic.h> or <atomic> for SMP 2015-03-06 14:58:13 +01:00
Sebastian Huber
9a5073462d atomic.h: Format changes 2015-03-06 14:58:13 +01:00
Sebastian Huber
e684326d24 Change license to BSD 2015-03-06 14:58:13 +01:00
Sebastian Huber
dd9e4ef5eb Mark header files as empty 2015-03-06 14:58:13 +01:00
Sebastian Huber
be2e60c668 Delete unused files 2015-03-06 14:58:12 +01:00
Sebastian Huber
3c302b62fd Add a simple page allocator 2015-01-29 08:51:43 +01:00
Sebastian Huber
5071600b21 Add Xilinx Zynq BSP support 2015-01-21 15:00:21 +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
454d6825c0 Delete obsolete _bsd_nexus_devices 2014-10-08 14:51:21 +02:00
Sebastian Huber
6604dc893e Delete rtems_bsd_thread_chain
Rely on RTEMS object registration for threads.
2014-09-25 10:57:56 +02:00
Sebastian Huber
ccbc70df3e BSD_ASSERT(): Optimize 2014-09-24 16:28:25 +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
917a78b209 DHCPCD(8): Add basic support 2014-01-30 16:23:03 +01:00
Sebastian Huber
7831313a17 Add and use RTEMS_BSD_ARGC() 2014-01-30 15:04:19 +01:00
Sebastian Huber
164c5f5320 UNIX(4): Import from FreeBSD 2014-01-16 15:45:44 +01:00
Sebastian Huber
8d4bab38ea Use integer-only printf in kernel space 2013-12-20 11:22:26 +01:00
Sebastian Huber
5315d35d5e Always enable IPv6 2013-12-20 11:22:26 +01:00
Sebastian Huber
e48f60383e Move __FreeBSD__ define to header files 2013-12-16 15:34:46 +01:00
Sebastian Huber
d73edee71e Add support for M68K 2013-12-16 15:34:46 +01:00
Sebastian Huber
e2ab9844c3 machine/bus.h: Support for PowerPC 2013-12-04 13:44:03 +01:00
Sebastian Huber
162d615ff3 rtems-bsd-endian.h: Fix warning on PowerPC 2013-12-04 13:44:03 +01:00
Sebastian Huber
70bb42ba19 if_tsec: Add from FreeBSD 2013-11-13 14:10:35 +01:00
Sebastian Huber
66659ff1ad Update to FreeBSD 9.2 2013-11-11 10:08:08 +01:00
Sebastian Huber
ce96623934 Define __GLOBL1() and __GLOBL() 2013-11-11 10:08:06 +01:00
Sebastian Huber
ef0c275331 Move option defines to corresponding header files 2013-11-11 10:08:06 +01:00
Sebastian Huber
0a57e1db23 Reduce divergence from FreeBSD sources 2013-11-11 10:08:06 +01:00
Sebastian Huber
c4c34f3c45 Change license to BSD
Make usable in user space.
2013-11-11 10:08:05 +01:00
Sebastian Huber
b84c04ecfa Move content to <machine/rtems-bsd-user-space.h> 2013-11-11 10:08:05 +01:00