264 Commits

Author SHA1 Message Date
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
44de29b285 Enable INET6 2013-10-31 13:20:11 +01:00
Sebastian Huber
a2ddd79bdd lib/libc/net/ip6opt.c: Add from FreeBSD 2013-10-31 13:18:55 +01:00
Sebastian Huber
8a5d1dac2c lib/libc/net/rthdr.c: Add from FreeBSD 2013-10-31 13:18:55 +01:00
Sebastian Huber
c1234892f9 Makefile: Add -fno-common 2013-10-31 13:18:55 +01:00
Sebastian Huber
86711191c0 netshell01: Avoid multiple definitions 2013-10-31 13:18:54 +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
Sebastian Huber
89761ed754 Do not use FreeBSD time control 2013-10-31 13:18:53 +01:00
Sebastian Huber
510946e699 selectpollkqueue01: New test 2013-10-31 13:18:52 +01:00
Sebastian Huber
a9e26f5d5b TIMEOUT(9): Use timer server for callout_tick() 2013-10-31 13:18:52 +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
3e2938873d ZONE(9): Add and use red-black tree chunk alloc 2013-10-31 13:18:52 +01:00
Sebastian Huber
4adeb59b18 rwlock01: New test 2013-10-31 13:18:52 +01:00
Sebastian Huber
6ca6aa893b Delete kern_proc.c and kern_resource.c 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
87fdc14286 Use RTEMS provides zlib 2013-10-31 13:18:50 +01:00
Sebastian Huber
0967858024 sleep01: New test 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
1f6caf381c commands01: New test 2013-10-31 13:18:49 +01:00
Sebastian Huber
c14bb23117 IFCONFIG(8): Disable IEEE80211 support
This module depends on a XML parser and mmap().
2013-10-31 13:18:49 +01:00
Sebastian Huber
9a3fa151b2 Use unmodified FreeBSD versions for port_*.h 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
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
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
c9db0f5ecb Use RTEMS API for file handling 2013-10-31 13:18:46 +01:00
Sebastian Huber
8eb42e8884 Avoid references to kern_descrip.c
Use the standard RTEMS file descriptors instead.
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
ed2ce44cd9 Makefile: Generate map file 2013-10-31 13:18:45 +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
58c4fda800 Do not run interactive netshell01 test 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
937461c950 Avoid per-CPU features 2013-09-20 16:18:23 +02:00
Sebastian Huber
a71a32535f Use empty <sys/ucontext.h> 2013-09-20 16:18:23 +02:00
Jennifer Averett
0bde19eee0 Switch to a version of select that is closer to bsd's version. 2012-11-26 09:47:09 -06:00
Jennifer Averett
af4b6f2ac8 Added mman.h
This will be needed when the ifconfig command is added.
2012-09-07 11:41:09 -05:00
Jennifer Averett
c6cbb24186 Added contrib/pf
This will be needed for adding the ifconfig command.
2012-09-07 11:38:35 -05:00
Jennifer Averett
6d7f48849e Added netatalk files
This is part of a larger patch where network command structure is being
ported.  It was easier to move these files in than to carve it out of
the command code.
2012-09-06 09:17:47 -05:00