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
bc6dabab31
Delete psignal() definition
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
150d4d6524
Move content to new <machine/rtems-bsd-support.h>
2013-10-31 13:18:51 +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
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
ec702abace
Use socket read() and write() 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
Sebastian Huber
7c3625139f
Use listen() from FreeBSD
2013-10-31 13:18:47 +01:00
Sebastian Huber
6676de488a
Use connect() from FreeBSD
2013-10-31 13:18:47 +01:00
Sebastian Huber
468b08e553
Use bind() from FreeBSD
2013-10-31 13:18:47 +01:00
Sebastian Huber
6ffb9b9e27
Use shutdown() from FreeBSD
2013-10-31 13:18:47 +01:00
Sebastian Huber
609df33954
Use send() and recv() from FreeBSD
2013-10-31 13:18:47 +01:00
Sebastian Huber
caf8eded60
Import socket() implementation from FreeBSD
...
Add new test syscalls01.
2013-10-31 13:18:47 +01:00
Sebastian Huber
69b29a0c0d
Disable user credentials and use default values
2013-10-31 13:18:47 +01:00
Sebastian Huber
cc5f4b2705
Use default PID value for all process identifiers
2013-10-31 13:18:46 +01:00
Sebastian Huber
549488b572
Disable alternative routing tables
2013-10-31 13:18:46 +01:00
Sebastian Huber
3842b81723
Delete struct proc p_mtx lock
...
Usage of this lock is highly dangerous since agents may assume that this
lock is actually used for process management. There is only one process
in RTEMS.
2013-10-31 13:18:46 +01:00
Sebastian Huber
db2e97facf
Disable cold boot indicator
2013-10-31 13:18:46 +01:00
Sebastian Huber
c9db0f5ecb
Use RTEMS API for file handling
2013-10-31 13:18:46 +01:00
Sebastian Huber
ab415f95a9
Use extension to attach a struct thread to threads
...
Add test thread01.
2013-10-10 09:09:19 +02:00
Sebastian Huber
f3b2913422
Move core system initialization references
2013-10-10 09:09:19 +02:00
Sebastian Huber
e599318e91
Update files to match FreeBSD layout
...
Add compatibility with Newlib header files. Some FreeBSD header files
are mapped by the translation script:
o rtems/bsd/sys/_types.h
o rtems/bsd/sys/errno.h
o rtems/bsd/sys/lock.h
o rtems/bsd/sys/param.h
o rtems/bsd/sys/resource.h
o rtems/bsd/sys/time.h
o rtems/bsd/sys/timespec.h
o rtems/bsd/sys/types.h
o rtems/bsd/sys/unistd.h
It is now possible to include <sys/socket.h> directly for example.
Generate one Makefile which builds everything including tests.
2013-10-10 09:08:23 +02:00
Sebastian Huber
bceabc95c1
Move files to match FreeBSD layout
2013-10-10 09:06:58 +02:00
Joel Sherrill
3616a063a1
Remove leading rtems/ directory from paths under rtemsbsd
2012-03-08 11:05:16 -06:00
Joel Sherrill
6ad03bf517
Remove rtems/ from includes of RTEMS specific files
2012-03-08 10:31:56 -06:00