203 Commits

Author SHA1 Message Date
Sebastian Huber
ef0c275331 Move option defines to corresponding header files 2013-11-11 10:08:06 +01:00
Sebastian Huber
e6374731ff Fix tvtohz() return value 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
af5333e0a0 Update to FreeBSD 8.4 2013-11-04 15:28:21 +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
1c61fdb62c MUTEX(9): Allow destruction of self-owned mutexes 2013-10-31 13:18:54 +01:00
Sebastian Huber
9fd69c14ab MALLOC(9): Return valid pointer for malloc(0), etc. 2013-10-31 13:18:54 +01:00
Sebastian Huber
486871306b Delete unused variables 2013-10-31 13:18:53 +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
89761ed754 Do not use FreeBSD time control 2013-10-31 13:18:53 +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
fbd0ec3fd9 Include missing header file 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
0b1be9f729 RWLOCK(9): Use RTEMS mutex to support recursion
Support for recursive RWLOCK(9) is mandatory otherwise dead-lock happens
in the TCP protocol layer.
2013-10-31 13:18:51 +01:00
Sebastian Huber
761956d45c MUTEX(9): Use priority inheritance protocol 2013-10-31 13:18:51 +01:00
Sebastian Huber
e8592316b3 Add TODO for priority values 2013-10-31 13:18:51 +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
c8a0f76156 Include missing header file 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
5d288bc6ee Use compile-time constants for exactly one CPU 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
24732b6de5 Rename file to reflect FreeBSD origin 2013-10-31 13:18:50 +01:00
Sebastian Huber
616f6000b6 Map <sys/md5.h> to RTEMS <md5.h> 2013-10-31 13:18:50 +01:00
Sebastian Huber
43148f0c6a IFCONFIG(8): Avoid JAIL(3) 2013-10-31 13:18:49 +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