153 Commits

Author SHA1 Message Date
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
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
Sebastian Huber
d01564c473 Move program control to thread structure 2013-10-31 13:18:48 +01:00
Sebastian Huber
c804e50047 Update from latest FreeBSD version 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
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
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
db2e97facf Disable cold boot indicator 2013-10-31 13:18:46 +01:00
Sebastian Huber
032b3b7940 Use Newlib provided <sys/fcntl.h> 2013-10-31 13:18:46 +01:00
Sebastian Huber
ebabe9b195 Import <sys/sysproto.h> from FreeBSD 2013-10-31 13:18:46 +01:00
Sebastian Huber
cd75897ea8 Import <security/audit/audit.h> from FreeBSD 2013-10-31 13:18:46 +01:00
Sebastian Huber
3931b6e5f3 Provide __socklen_t, use size_t for socklen_t 2013-10-31 13:18:46 +01:00
Sebastian Huber
a434fc84b2 Add empty files 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
a9f141a221 Change license to BSD 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