37 Commits

Author SHA1 Message Date
Sebastian Huber
c40e45b75e Update to FreeBSD head 2016-08-23
Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
2017-01-10 09:53:31 +01:00
Sebastian Huber
7f75b564fc Port getdomainname() to RTEMS 2016-09-07 15:43:44 +02:00
Sebastian Huber
a4394109df Import getdomainname() 2016-09-07 15:42:36 +02:00
Christian Mauderer
2fb3a360e7 freebsd: Add constant ipv6 addresses from vars.c.
This is necessary for a configuration without IPv6.
2016-08-04 15:44:06 +02:00
Christian Mauderer
21abaef9b0 freebsd: Don't use new wrappers for old ports.
Some of the commands have been adapted manually. So the wrapper
currently don't necessarily work as expected. For example ifconfig calls
malloc outside of the program call.
2016-08-02 10:21:51 +02:00
Sebastian Huber
5851034aea reentrant.h: There is no main thread in RTEMS 2016-06-15 07:49:24 +02:00
Sebastian Huber
a037da67c6 XDR(3): Port to RTEMS 2016-06-10 14:10:26 +02:00
Sebastian Huber
f41a394f91 XDR(3): Import from FreeBSD 2016-06-10 14:10:26 +02:00
Sebastian Huber
9880635f2e RPC(3): Port to RTEMS 2016-06-10 14:09:54 +02:00
Sebastian Huber
60b1d40751 RPC(3): Import from FreeBSD 2016-06-10 14:09:30 +02:00
Sebastian Huber
b6f6deb883 Directly use <sys/_types.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
3d1e767c8f Directly use <sys/types.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
2017a6df2b Directly use <sys/time.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Chris Johns
83eb07c4d6 Add sbin/sysctl 2016-05-06 15:07:56 +10:00
Sebastian Huber
59c9a5f8ba NSDISPATCH(3): Add proper nsparser.h
Update nsparser.h to fit with the files introduced via
e35a65e99512000ab0107c4fc64f89aa84f7de38.
2015-10-19 09:59:45 +02:00
Chris Johns
7c8c0eb134 Provide the missing cdecl for _nsdispatch. 2015-06-16 12:53:46 +10:00
Chris Johns
e35a65e995 Regenerate with FreeBSD lex, yacc, and rpcgen tools.
Use the FreeBSD lex, yacc and rpcgen tools to generate the various
sources used in LibBSD. The change also removes an RTEMS specific change
added when using other hosts operating systems to generate the files.

LibBSD should use FreeBSD version of the tools to generate the source
because the FreeBSD kernel is developed using them.

The change is supported by the waf build which disables generating
the files unless enabled. I am not sure the effect with the Makefile
build support.
2015-05-27 09:40:30 +10:00
Sebastian Huber
165dd8ea12 Update to FreeBSD Stable/9 2015-04-08 2015-05-20 09:58:21 +02:00
Sebastian Huber
0c395c0502 Add generated files
This avoids dependencies on a particular generator tool version.  On
MinGW and Cygwin hosts these tools tend to be outdated or somehow
incapable.
2015-04-08 07:57:05 +02:00
Sebastian Huber
7eeb079d84 Update to FreeBSD 9.3 2015-02-13 10:34:19 +01:00
Sebastian Huber
b94c5ecf82 NSDISPATCH(3): Add rtems_nss_register_module() 2014-11-04 13:02:55 +01:00
Sebastian Huber
54ed53794b Support sethostname() and gethostname() 2014-10-24 09:47:58 +02:00
Sebastian Huber
e33fe4acda NSDISPATCH(3): Fix for small-data area 2013-12-04 13:44:03 +01:00
Sebastian Huber
a531ba43ea DISPATCH(3): Assume static linking 2013-12-04 13:44:03 +01:00
Sebastian Huber
66659ff1ad Update to FreeBSD 9.2 2013-11-11 10:08:08 +01:00
Sebastian Huber
0a57e1db23 Reduce divergence from FreeBSD sources 2013-11-11 10:08:06 +01:00
Sebastian Huber
b84c04ecfa Move content to <machine/rtems-bsd-user-space.h> 2013-11-11 10:08:05 +01:00
Sebastian Huber
d48955b9e3 Add and use <machine/rtems-bsd-user-space.h> 2013-11-11 10:08:05 +01:00
Sebastian Huber
af5333e0a0 Update to FreeBSD 8.4 2013-11-04 15:28:21 +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
24042643b3 Revert superfluous changes 2013-10-31 13:18:54 +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
d01564c473 Move program control to thread structure 2013-10-31 13:18:48 +01: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