573 Commits

Author SHA1 Message Date
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
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
58c4fda800 Do not run interactive netshell01 test 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
d652c3bafd Avoid per-CPU NETISR(9)
SMP support should be enabled once the new stack is ready for this.
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
Sebastian Huber
e8b7066dab Add FreeBSD sources as a submodule
The current version corresponds to SVN r255967 of:

http://svn.freebsd.org/base/releng/8.2
2013-10-08 14:24:38 +02:00
Sebastian Huber
82800c518f Update due to header file changes 2013-09-20 16:30:53 +02:00
Sebastian Huber
83cb10f952 There is no main thread in RTEMS
The resolv module has a questionable fall back strategy on error.
2013-09-20 16:18:23 +02:00
Sebastian Huber
937461c950 Avoid per-CPU features 2013-09-20 16:18:23 +02:00
Sebastian Huber
e3dd7a480e Avoid usage of stack_t type 2013-09-20 16:18:23 +02:00
Sebastian Huber
a71a32535f Use empty <sys/ucontext.h> 2013-09-20 16:18:23 +02:00
Sebastian Huber
473437ccd7 Update due to header file changes 2013-09-20 16:18:23 +02:00
Sebastian Huber
a3dde3ee78 Update due to Newlib <sys/cdefs.h> changes 2013-09-20 12:52:44 +02:00
Sebastian Huber
fabbca4048 Add protocol definition 2013-04-18 10:38:13 +02:00
Sebastian Huber
efa254b4c7 Fix YACC command
The '-d' and '-o' options conflict.
2013-04-18 10:37:22 +02:00
Sebastian Huber
85ea3b902d Ignore more files 2013-04-18 10:36:37 +02:00
Jennifer Averett
e00f10c266 Remove empty version of timespec.h and limits.h 2012-11-26 09:49:24 -06: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
9d3ac2b51a Add custom limits.h and timespec.h
These will be needed for added a version of select that is
closer to bsd's select.
2012-11-26 09:24:57 -06:00
Sebastian Huber
0bc8807943 CAM: Update due to API changes 2012-11-05 16:15:31 +01:00
Jennifer Averett
09087dc3e8 ping: Remove unnecessary ifdef 2012-10-26 08:58:31 -05:00
Joel Sherrill
af0a8ead1a netstat/kvm: Disable debug prints 2012-10-25 09:03:28 -05:00
Joel Sherrill
e0b40b0aa2 netstat/netstat.h: Add macro so rt_tables is in private namespace
Otherwise this conflicts with the rt_tables in the kernel and
kvm can't work.
2012-10-25 09:02:38 -05:00
Joel Sherrill
2b640ee8fb uipc_domain.c: Correct max_linkhdr 2012-10-24 18:14:32 -05:00
Joel Sherrill
5f600ddbed netstat: Enable use of kvm again
The code committed has some debug information enabled. It ends with
an odd reference to address 0x1.
2012-10-24 15:40:19 -05:00
Joel Sherrill
34e1fb2c5a Add support for kvm.h in RTEMS terms
The implementation uses an array of strings and variable names. The
names are weak symbolic references to the items we have seen calls
to kvm services with.
2012-10-24 15:38:22 -05:00
Joel Sherrill
5e93bed562 Tool patches: Add newlib patch needed 2012-10-24 15:37:49 -05:00
Jennifer Averett
9257b31240 Added -g option to Makefile. 2012-10-24 15:03:50 -05:00
Jennifer Averett
240093f3ce ping: corrected argument get to work with rtems. 2012-10-24 15:02:37 -05:00
Jennifer Averett
cb5035400c _sx_xlock(): Added check for not in interrupt. 2012-10-24 15:01:23 -05:00
Joel Sherrill
d4515a8d0e kern_time: Disable some routines RTEMS has 2012-10-23 16:49:40 -05:00
Joel Sherrill
6f23b75ba2 netstat: Use rtems_clock_get_uptime() instead of BSD specific method 2012-10-23 16:49:17 -05:00
Joel Sherrill
bea701c3a0 netstat: Add macros to assist use of getopt_r() 2012-10-23 16:48:54 -05:00
Joel Sherrill
8ddbc30f41 rtems-bsd-sx.c: Disable check for interruptible blocking until it is supported 2012-10-23 14:21:44 -05:00
Joel Sherrill
df900d3a86 Commands: Build with IPV6 enabled 2012-10-23 14:21:44 -05:00
Jennifer Averett
d422d0df64 Merge branch 'master' of ssh://git.rtems.org/data/git/rtems-libbsd 2012-10-23 14:16:33 -05:00
Jennifer Averett
2df6b3148a netstat: Added exit funtionality. 2012-10-23 14:13:08 -05:00
Joel Sherrill
e26cd8dd2e route: Add macros to assist use of getopt_r() 2012-10-23 13:36:45 -05:00
Joel Sherrill
68e0948111 Makefile: Conditionalize IPV6 files and build some commands as .rel
At least ifconfig has "static" global C constructors and you have
to force the objects in.
2012-10-23 13:31:30 -05:00
Joel Sherrill
cc2aec486d .gitignore: Add .rel 2012-10-23 13:31:04 -05:00
Joel Sherrill
25f7f0f9b5 ifconfig.c: Correct for getopt_r() 2012-10-23 11:13:58 -05:00
Joel Sherrill
346810af65 netstat/if.c: Use POSIX not BSD signals 2012-10-23 11:13:57 -05:00
Joel Sherrill
7b43b62c17 rtems-bsd-symbols.h: Do not hide sysctlbyname(). 2012-10-23 11:13:57 -05:00
Joel Sherrill
9fb2d3d089 memstat_all.c: Disable memstat_kvm_all() 2012-10-23 11:13:57 -05:00
Joel Sherrill
0fa7dabe89 route command: Clean up kernal symbol accesses 2012-10-23 11:13:57 -05:00
Joel Sherrill
e9aaadb911 Add libkvm man pages 2012-10-23 11:13:57 -05:00