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
6b475ce4b8
Include missing header file
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
8babd8c8ea
Fix cr_cansee*() to see everything
2014-09-18 13:02:36 +02:00
Sebastian Huber
62bdb6ae50
C++ compatibility for some kernel headers
2014-09-17 13:59:09 +02:00
Sebastian Huber
c4ee44518c
Define __FreeBSD__ in <net/bpf.h> if not defined
...
This makes it possible to use this header file directly in applications.
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
a257bd730c
Use node_access_2 to enable generic IMFS nodes
2014-01-16 15:45:00 +01:00
Sebastian Huber
b6c319bb7d
socketops: Return ENXIO for open() on sockets
2014-01-16 15:45:00 +01:00
Sebastian Huber
06ad80cbda
SOCKET(2): Add some FCNTL(2) support
2013-12-16 15:35:51 +01:00
Sebastian Huber
e10d1cdc45
BPF(4): Add support
2013-12-16 15:35:51 +01:00
Sebastian Huber
90916f12b7
Move <sys/_cpuset.h>
2013-12-16 15:34:46 +01:00
Sebastian Huber
5084ad89e4
Simplify linker set handling
2013-12-16 15:34:46 +01:00
Sebastian Huber
2815cdbf4d
Changes due to <sys/cpuset.h> from latest Newlib
2013-12-04 13:44:04 +01:00
Sebastian Huber
19704a044f
selinfo.h: Delete unused fields
2013-12-04 13:44:04 +01:00
Sebastian Huber
7f1836cfe6
TIMEOUT(9): Start callout timer later
...
This avoid race conditions during initialization.
2013-11-13 17:44:40 +01:00
Sebastian Huber
70bb42ba19
if_tsec: Add from FreeBSD
2013-11-13 14:10:35 +01:00
Sebastian Huber
b41556e22f
if_smc: Fix for level-triggered interrupts
2013-11-13 14:10:35 +01:00
Sebastian Huber
760e894d54
NETISR(9): Fix NULL pointer access
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
0a57e1db23
Reduce divergence from FreeBSD sources
2013-11-11 10:08:06 +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
94d04f8ba8
sys/dev/mii/mii_bitbang.c: Add from FreeBSD
2013-11-11 10:08:04 +01:00
Sebastian Huber
3fd1b1e807
DEVICE(9): Enable bus_enumerate_hinted_children()
2013-11-11 10:08:04 +01:00
Sebastian Huber
d328ca274a
DEVICE.HINTS(5): Use static hints only
2013-11-11 10:08:04 +01:00
Sebastian Huber
cd48afc2ea
Use <sys/queue.h> from Newlib
2013-11-04 15:28:22 +01:00
Sebastian Huber
af5333e0a0
Update to FreeBSD 8.4
2013-11-04 15:28:21 +01:00
Sebastian Huber
fdf46bea28
Use <sys/poll.h> and <sys/event.h> from RTEMS
2013-11-04 15:28:20 +01:00
Sebastian Huber
902170b2c1
MTX_POOL(9): Disable unused mutex pools
2013-10-31 13:20:13 +01:00
Sebastian Huber
bcd6e1b9d1
sys/netinet6/ip6_input.c: Restore FreeBSD version
2013-10-31 13:18:55 +01:00
Sebastian Huber
4ab42e9fff
sys/netinet6/in6.c: Restore FreeBSD version
2013-10-31 13:18:55 +01:00
Sebastian Huber
a3d804ad75
SYSCTL(9): Avoid multiple definitions
2013-10-31 13:18:54 +01:00
Sebastian Huber
f0d189ca93
Hide global TCP debug variables
2013-10-31 13:18:54 +01:00
Sebastian Huber
c99816e1d7
Implement sysctl_handle_opaque()
...
FIXME: The snapshots are not reliable.
2013-10-31 13:18:54 +01:00
Sebastian Huber
24042643b3
Revert superfluous changes
2013-10-31 13:18:54 +01:00
Sebastian Huber
f3ffa87cc9
Avoid use of "maxfiles" and "maxfilesperproc"
2013-10-31 13:18:53 +01:00
Sebastian Huber
371881668c
Avoid use of "hogticks"
2013-10-31 13:18:53 +01:00
Sebastian Huber
adaa24668e
Inline copyinstr(), copyin() and copyout()
2013-10-31 13:18:53 +01:00
Sebastian Huber
724d62b427
Delete unused "sys/kern/kern_environment.c"
2013-10-31 13:18:53 +01:00
Sebastian Huber
54146cac48
Fix warning
2013-10-31 13:18:53 +01:00
Sebastian Huber
89761ed754
Do not use FreeBSD time control
2013-10-31 13:18:53 +01:00
Sebastian Huber
e65783f249
TIMEOUT(9): Support callout_drain()
2013-10-31 13:18:52 +01:00
Sebastian Huber
a9e26f5d5b
TIMEOUT(9): Use timer server for callout_tick()
2013-10-31 13:18:52 +01:00
Sebastian Huber
0c9f27ba24
Use kqueue() and kevent() from FreeBSD
2013-10-31 13:18:52 +01:00
Sebastian Huber
bae343a308
Use compile-time constant for vm_guest
2013-10-31 13:18:52 +01:00
Sebastian Huber
ea87228a26
TASKQUEUE(9): Use FreeBSD implementation
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
11b7f58408
Fix errno conflict
...
Newlib defines errno as
#define errno (*__errno())
In case this is expanded in a function parameter, e.g.
void f(int errno) { ... }
then we have a function pointer parameter instead of the integer scalar.
2013-10-31 13:18:51 +01:00
Sebastian Huber
6ca6aa893b
Delete kern_proc.c and kern_resource.c
2013-10-31 13:18:51 +01:00