146 Commits

Author SHA1 Message Date
Sebastian Huber
a09f00e7d6 if_cgem: Workaround for if_inc_counter() 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
4153ebe419 Do not set mulitcast hostname in sethostname() 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
ffbee8a6c4 Add rtems_bsd_force_select_timeout() 2014-11-04 13:02:55 +01:00
Sebastian Huber
54ed53794b Support sethostname() and gethostname() 2014-10-24 09:47:58 +02:00
Sebastian Huber
feffbc2894 Fix mount table location chain corruption
Do not add a location twice to the location chain of
rtems_filesystem_null_mt_entry (add it in falloc() only).
2014-10-16 15:12:19 +02:00
Sebastian Huber
9cea6da780 Generalize linker sets
Add ability to create linker sets for items with an arbitrary type.
2014-10-08 14:51:21 +02:00
Sebastian Huber
bd2e540dca UMA(9): Disable unused uma_large_malloc() 2014-09-30 09:49:43 +02:00
Sebastian Huber
b8021fdcf6 critical_enter/exit(): Use inline function 2014-09-30 09:49:43 +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
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