83 Commits

Author SHA1 Message Date
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
Joel Sherrill
9be3a10b4b testsuite/Makefile: Add netshell01 2012-09-01 13:38:18 -05:00
Joel Sherrill
9609268575 loopback01/init.c: Remove junk file 2012-09-01 13:37:29 -05:00
Joel Sherrill
42cd4b0bde netshell01: New test and stop using old network configuration code
The old network configuration using a data structure does not
support IPV6 and does not support all of the network settings
that the FreeBSD command line utilities do. Transition to using
the network utilities like ifconfig, route, etc. to initialize
the NIC configuration.
2012-09-01 13:34:49 -05:00
Joel Sherrill
6e77c5a929 usb01: Correct Makefile 2012-07-28 07:13:24 -05:00
Joel Sherrill
647081dbe3 usb01: make Makefile follow pattern of others 2012-07-28 06:53:35 -05:00
Joel Sherrill
d32a9cf7c5 mghttpd01: Add test - does not build yet 2012-07-28 06:42:15 -05:00
Joel Sherrill
68e4c84698 testsuite/Makefile: Clean up after test name change 2012-07-28 06:40:35 -05:00
Joel Sherrill
04ca033095 loopback01: Does not include rtems specific net files 2012-07-27 08:14:05 -05:00
Joel Sherrill
7d69fb33a6 init01: Add configuration structure 2012-07-27 08:11:01 -05:00
Joel Sherrill
71703fec74 init01: Add init.c 2012-07-27 07:48:22 -05:00