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
Sebastian Huber
99378e229f
Remove gets() declaration (conflicts <stdio.h>)
2013-10-31 13:18:50 +01:00
Sebastian Huber
8109ef3ae7
Remove superfluous undefs
2013-10-31 13:18:50 +01:00
Sebastian Huber
ea49a89a2c
Move ticks definition
2013-10-31 13:18:50 +01:00
Sebastian Huber
f9c2714590
SLEEP(8): New implementation
2013-10-31 13:18:50 +01:00
Sebastian Huber
cdf6024953
Add MAC support functions
...
WARNING: They are not thread-safe! This is a known FreeBSD issue.
2013-10-31 13:18:49 +01:00
Sebastian Huber
ffcd542fe2
Move TIMEOUT(9) and ZONE(9) initialization
...
Delete most of virtual memory support.
2013-10-31 13:18:48 +01:00
Sebastian Huber
a9be4b0481
Move shell items to separate file
2013-10-31 13:18:48 +01:00
Sebastian Huber
d01564c473
Move program control to thread structure
2013-10-31 13:18:48 +01:00
Sebastian Huber
57f20025a7
Add sysctl(), etc. prototypes
2013-10-31 13:18:48 +01:00
Sebastian Huber
9d9bfaff8d
Use send/recv functions from FreeBSD
...
Use recvfrom(), recvmsg(), sendto() and sendmsg() from FreeBSD.
2013-10-31 13:18:48 +01:00
Sebastian Huber
8989c110f5
Use getsockname() from FreeBSD
2013-10-31 13:18:48 +01:00
Sebastian Huber
0beab1e86a
Use getpeername() from FreeBSD
2013-10-31 13:18:48 +01:00
Sebastian Huber
ac78dd2440
Use getsockopt() and setsockopt() from FreeBSD
2013-10-31 13:18:47 +01:00
Sebastian Huber
7c2b59c831
Use accept() from FreeBSD
2013-10-31 13:18:47 +01:00