193 Commits

Author SHA1 Message Date
Sebastian Huber
f128e7cf1f timeout01: Avoid Nexus devices 2013-11-13 14:10:35 +01:00
Sebastian Huber
bb39e92140 swi01: Avoid Nexus devices 2013-11-13 14:10:35 +01:00
Sebastian Huber
0d48d6ede4 swi01: Fix warning 2013-11-13 14:10:35 +01:00
Sebastian Huber
9ca3fafac9 usb01: Fix warning 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
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
dc9429ca3e syscalls01: Update due to RTEMS changes 2013-11-04 15:28:20 +01:00
Sebastian Huber
3d8f9799c4 commands01: Add INET6 test cases 2013-10-31 13:20:14 +01:00
Sebastian Huber
44de29b285 Enable INET6 2013-10-31 13:20:11 +01:00
Sebastian Huber
86711191c0 netshell01: Avoid multiple definitions 2013-10-31 13:18:54 +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
795c5e6610 testsuite: Increase object alloc size 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
c33de69546 testsuite: Increase test init task stack size 2013-10-31 13:18:52 +01:00
Sebastian Huber
4adeb59b18 rwlock01: New test 2013-10-31 13:18:52 +01:00
Sebastian Huber
facf9dcea6 Use select() from FreeBSD 2013-10-31 13:18:50 +01:00
Sebastian Huber
0967858024 sleep01: New test 2013-10-31 13:18:50 +01:00
Sebastian Huber
37b0ab6ee4 loopback01: Wait for client termination 2013-10-31 13:18:50 +01:00
Sebastian Huber
5ddce1f196 loopback01: Initialize via IFCONFIG(8) 2013-10-31 13:18:50 +01:00
Sebastian Huber
1f6caf381c commands01: New test 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
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
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
e5393a3267 Use socket ioctl() 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
bada2f77d0 Add socket fstat() support 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
025d8f20f5 testsuite: Enable stack checker
Increase init task stack size.
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
a1e0a41497 Make default test initialization task preemptive 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
2cf245e32d netshell01: Add netstat command 2012-10-23 11:01:36 -05:00
Joel Sherrill
44ffbd53c6 Add ifconfig command as RTEMS Shell command
This is enough to be able to invoke the ifconfig command but it
calls exit() which is inappropriate.

The "struct option" in the ifconfig code conflicts with a structure
of the same name in newlib's and glibc's getopt.h.
2012-10-11 19:03:46 -05:00
Jennifer Averett
fe98401354 netshell01: Add ns parser globals needed for ping. 2012-10-11 08:30:50 -05:00
Joel Sherrill
ea3f3a331f netshell01/.gitignore: Update 2012-09-11 16:06:33 -05:00
Joel Sherrill
c6a5ede79d netshell01/.gitignore: New file 2012-09-11 16:04:07 -05:00
Joel Sherrill
e6fe77ef56 freebsd-userspace/Makefile: Resolve conflict so ifconfig and netstat are both here 2012-09-07 13:19:21 -05:00
Joel Sherrill
db068df3c4 netshell01: Link against ping command 2012-09-07 12:49:40 -05:00