1205 Commits

Author SHA1 Message Date
Sebastian Huber
a9d38f5306 Remove AppleTalk support
Prepare update to FreeBSD 11.
2016-10-13 07:23:03 +02:00
Sebastian Huber
40f202da4e pfctl: Update due to linker set API changes 2016-10-13 07:23:03 +02:00
Sebastian Huber
f5f9e16e4a nexus-devices: Support arm/lpc24xx 2016-10-07 07:24:42 +02:00
Sebastian Huber
335bb97980 testsuite: Fix warnings 2016-10-07 07:24:42 +02:00
Sebastian Huber
e11f8e31f0 ohci: Fixes due to USB stack update 2016-10-07 07:24:42 +02:00
Sebastian Huber
e3881ee3e0 nexus-devices: Add arm/atsamv BSP section 2016-09-28 15:34:46 +02:00
Sebastian Huber
ec5b97bed1 usb01: Simplify test program 2016-09-28 15:33:50 +02:00
Sebastian Huber
8eb888394a Split rtemsbsd/rtems/rtems-program.c
This improves garbage collection by the linker.
2016-09-28 15:00:19 +02:00
Sebastian Huber
10e9e058c0 Split rtems-bsd-kernel-program.c
Separate kernel and user space parts.
2016-09-28 14:50:40 +02:00
Sebastian Huber
299d4ba7c3 Build rtems-bsd-shell-pfctl.c 2016-09-28 14:39:32 +02:00
Sebastian Huber
d9fe0617ee Split rtems-bsd-shell-netcmds.c
This improves garbage collection by the linker.
2016-09-28 13:23:16 +02:00
Sebastian Huber
2c563ed13a if_ffec_mcf548x.c: Fix include order 2016-09-23 09:54:49 +02:00
Sebastian Huber
02d344f4d0 rtems-bsd-mutex: Update due to API changes 2016-09-22 07:22:42 +02:00
Sebastian Huber
2c44b51475 Use _Thread_Get_priority() 2016-09-22 07:21:54 +02: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
Sebastian Huber
8e65e1bf45 usb: Update to FreeBSD trunk 2016-08-23
FreeBSD trunk, 2016-08-23, 9fe7c416e6abb28b1398fd3e5687099846800cfd.
2016-08-23 16:07:16 +02:00
Sebastian Huber
7c77211d0f doc: Update rules to modify FreeBSD code 2016-08-23 15:37:01 +02:00
Sebastian Huber
0c24e06130 mmc: Update to FreeBSD trunk 2016-08-23 2016-08-23 15:18:42 +02:00
Sebastian Huber
a971614a91 doc: Update rules to modify FreeBSD code 2016-08-19 11:18:52 +02:00
Christian Mauderer
69355c3ce3 devfs: Add some notes on implementation. 2016-08-16 09:16:43 +02:00
Christian Mauderer
6634edbee8 devfs: Create path. 2016-08-16 09:16:43 +02:00
Chris Johns
ab7739a574 rc.conf/net: Let interface option appear on a DHCP ifconfig_ line.
An ifconfig_ line can have other options for the interface such as
ether or hardware checksum control. Allow these to be set on the
interface.
2016-08-12 15:56:36 +10:00
Chris Johns
c83cf5cba8 nfsclient: Only parse for options when present. 2016-08-12 15:56:30 +10:00
Sebastian Huber
691ed15cba rtems-bsd-mutex: Use _Thread_queue_Surrender() 2016-08-11 12:37:16 +02:00
Chris Johns
26a8cee1c3 e1000phy: Provide local support for Marvell's 88E1512 PHY.
This PHY is close to the standard PHY support so providing enough to
allow the PHY probe to pass lets it work on a MicroZed.
2016-08-11 17:41:49 +10:00
Sebastian Huber
62c4755a0b doc: Add FreeBSD import version section 2016-08-10 08:04:16 +02:00
Christian Mauderer
bc9e939a4c pf: Add configuration via rc.conf. 2016-08-08 16:12:05 +02:00
Christian Mauderer
6cfb5c2ca4 pf: Improve documentation regarding stack. 2016-08-08 16:12:05 +02:00
Christian Mauderer
61e2e1bf91 rc.conf: Use more stack for the rc worker.
Most of the tests run with a default stack size of 32k. If the rc worker
runs with less, it uses an untested configuration.
2016-08-08 16:10:05 +02:00
Christian Mauderer
a8d016c39d testsuite/pf01: Remove pflog-module from test.
This module is not tested inside the pf01 test. Therefore remove it. It
is still build in the interactive pf02 test.
2016-08-08 08:54:35 +02:00
Christian Mauderer
32a3dd1e43 pf: Add RTEMS_BSD_CONFIG_FIREWALL_xxx options. 2016-08-08 08:54:34 +02:00
Christian Mauderer
07176074bd if_ffec_mcf548x: Init when interface is set to UP.
Call the driver initialization function if the interface is set to UP.
2016-08-05 13:11:46 +02:00
Christian Mauderer
9907ae4070 netstat: Don't init vars if they are not defined.
The variables are not available, if there is no INET6 defined.
2016-08-04 15:44:12 +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
7aaa9a19d1 testsuite/pf02: Add interactive pf test. 2016-08-03 13:58:38 +02:00
Christian Mauderer
f1941b2b82 libbsd.txt: Add section describing PF. 2016-08-02 10:58:08 +02:00
Christian Mauderer
f71cbd02dc libbsd.txt: Add guide for user space tools. 2016-08-02 10:58:02 +02:00
Christian Mauderer
df222eba72 testsuite/pf01: Test pfctl and pf. 2016-08-02 10:21:52 +02:00
Christian Mauderer
7f86f6afc7 pfctl: Add rtems_bsd_command_pfctl. 2016-08-02 10:21:52 +02:00
Christian Mauderer
c79290aba6 pfctl: build files. 2016-08-02 10:21:52 +02:00
Christian Mauderer
09ce54ec14 pfctl: Add yacc generated file. 2016-08-02 10:21:52 +02:00
Christian Mauderer
d79524e4a7 pfctl: Adapt for RTEMS. 2016-08-02 10:21:52 +02:00
Christian Mauderer
686583cba4 pfctl: Use static where possible. 2016-08-02 10:21:52 +02:00
Christian Mauderer
c70221cb64 pfctl: Add const and move static variables.
Note: This should be upstreamed into BSD.

Make everything constant that can be constant and move static variables
out of their functions.
2016-08-02 10:21:51 +02:00
Christian Mauderer
b6252fb806 pfctl: Match prototype.
Note: This should be upstreamed into BSD.
2016-08-02 10:21:51 +02:00
Christian Mauderer
6e9a8eadf5 pfctl: Import sources from FreeBSD. 2016-08-02 10:21:51 +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
Christian Mauderer
d31a3658d0 rtemsbsd: Add wrapper for open, fopen, malloc, ...
Add the following rtems_bsd_program_... wrapper:

* rtems_bsd_program_open
* rtems_bsd_program_socket
* rtems_bsd_program_close
* rtems_bsd_program_fopen
* rtems_bsd_program_fclose
* rtems_bsd_program_malloc
* rtems_bsd_program_calloc
* rtems_bsd_program_realloc
* rtems_bsd_program_free
* rtems_bsd_program_strdup
* rtems_bsd_program_vasprintf
* rtems_bsd_program_asprintf
2016-08-02 10:21:46 +02:00
Christian Mauderer
3d91340868 rtemsbsd: Add call to program with a data restore
This adds the rtems_bsd_program_call_main_width_data_restore function.
2016-08-02 10:21:38 +02:00