81 Commits

Author SHA1 Message Date
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
Sebastian Huber
d48955b9e3 Add and use <machine/rtems-bsd-user-space.h> 2013-11-11 10:08:05 +01:00
Sebastian Huber
f244de9638 Rename rtems-bsd-config.h
Rename rtems-bsd-config.h in rtems-bsd-kernel-space.h.
2013-11-11 10:08:04 +01:00
Sebastian Huber
6779ce55bc BUS_SPACE(9): Use simple memory model for ARM 2013-11-04 15:28:21 +01:00
Sebastian Huber
241fc324d2 Use a local MSIZE of 256 2013-11-04 15:28:21 +01:00
Sebastian Huber
0c9f27ba24 Use kqueue() and kevent() from FreeBSD 2013-10-31 13:18:52 +01:00
Sebastian Huber
08264c8b21 Use poll() from FreeBSD 2013-10-31 13:18:52 +01:00
Sebastian Huber
3e2938873d ZONE(9): Add and use red-black tree chunk alloc 2013-10-31 13:18:52 +01:00
Sebastian Huber
2208c4036d Remove includes in <machine/rtems-bsd-config.h> 2013-10-31 13:18:51 +01:00
Sebastian Huber
bc6dabab31 Delete psignal() definition 2013-10-31 13:18:51 +01:00
Sebastian Huber
53441c049a Move pause() define to <sys/systm.h> 2013-10-31 13:18:51 +01:00
Sebastian Huber
46ffd7222b Include missing header file 2013-10-31 13:18:51 +01:00
Sebastian Huber
b3193b8709 Move strdup() define to <sys/libkern.h> 2013-10-31 13:18:51 +01:00
Sebastian Huber
e2281af9c8 Move integer type definitions 2013-10-31 13:18:51 +01:00
Sebastian Huber
150d4d6524 Move content to new <machine/rtems-bsd-support.h> 2013-10-31 13:18:51 +01:00
Sebastian Huber
de3ef24a03 Move cpu_spinwait() definition 2013-10-31 13:18:51 +01:00
Sebastian Huber
1bc275660d Add TODO item 2013-10-31 13:18:51 +01:00
Sebastian Huber
12b57addab Move malloc defines to <sys/malloc.h> 2013-10-31 13:18:50 +01:00
Sebastian Huber
6cdf009465 Remove setenv() declaration (conficts <stdlib.h>) 2013-10-31 13:18:50 +01:00
Sebastian Huber
40f2158a15 Remove abs() and labs() definitions
Confict with <stdlib.h>.
2013-10-31 13:18:50 +01:00