443 Commits

Author SHA1 Message Date
Sebastian Huber
87e3b46296 rtems-bsd-mutex: Update due to API changes 2016-11-24 09:49:04 +01:00
Sebastian Huber
b01ce52ef4 Fix errno redefined warning 2016-11-14 10:58:33 +01:00
Sebastian Huber
7614758c11 Revert "rtems-kernel-page: Panic on recursive reclaim"
This attempt to fix a memory allocation problem turned out to be broken.

This reverts commit 651710509430eee6731807801bd5ad85d28f4db4.
2016-11-14 10:17:55 +01:00
Sebastian Huber
6517105094 rtems-kernel-page: Panic on recursive reclaim 2016-11-10 10:52:11 +01:00
Sebastian Huber
c00312af93 Provide O_CLOEXEC 2016-11-09 10:04:35 +01:00
Sebastian Huber
8090fa00ec Provide CLOCK_UPTIME 2016-11-09 10:04:34 +01:00
Sebastian Huber
71a0436d14 Add thread fences to <machine/atomic.h> 2016-11-09 10:04:32 +01:00
Sebastian Huber
520ab224ca Modify rtems_bsd_set_vprintf_handler()
Return previous vprintf()-handler in rtems_bsd_set_vprintf_handler().
2016-11-09 09:46:32 +01:00
Sebastian Huber
6ff1baa08d Add empty <machine/_kernel_lock.h> 2016-11-09 09:14:19 +01:00
Sebastian Huber
8b0bcb88e0 rtems-bsd-mutex: Optimize
Inline SMP lock acquire/release.  Avoid stack frame for hot path.
2016-11-09 09:13:55 +01:00
Sebastian Huber
0b08247a26 rtems-bsd-mutex: Update due to API changes 2016-11-03 11:18:27 +01:00
Sebastian Huber
ade8f56dac devfs: Fix includes 2016-10-26 14:07:56 +02:00
Christian Mauderer
632e278d69 rtemsbsd: Add reallocf to rtems_bsd_program. 2016-10-24 08:13:04 +02:00
Sebastian Huber
0ba419717b Add SIZE_T_MAX to <machine/rtems-bsd-user-space.h> 2016-10-24 08:11:24 +02:00
Sebastian Huber
f0aaa04240 Provide CLOCK_MONOTONIC_FAST 2016-10-24 08:09:00 +02:00
Sebastian Huber
390e1330cf Make <machine/atomic.h> available to user space
Enables use of <sys/refcount.h> in user space.
2016-10-24 08:08:59 +02:00
Sebastian Huber
f5f9e16e4a nexus-devices: Support arm/lpc24xx 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
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
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
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
0c24e06130 mmc: Update to FreeBSD trunk 2016-08-23 2016-08-23 15:18:42 +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
Christian Mauderer
bc9e939a4c pf: Add configuration via rc.conf. 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
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
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
7f86f6afc7 pfctl: Add rtems_bsd_command_pfctl. 2016-08-02 10:21:52 +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
Christian Mauderer
a9bd4224e8 testsuite/pf01: Add test that links PF. 2016-08-01 14:02:04 +02:00
Christian Mauderer
9a01ebf7d7 kern_conf.c: Adapt for RTEMS. 2016-08-01 14:02:04 +02:00
Christian Mauderer
b5db3321b5 rtemsbsd/devfs: Add. 2016-08-01 14:02:04 +02:00
Sebastian Huber
bf7faad356 rtems-bsd-mutex: Update due to API changes 2016-07-28 08:07:14 +02:00
Sebastian Huber
e5aa554ea1 rtems-bsd-mutex: Update due to API changes 2016-07-27 08:51:53 +02:00
Chris Johns
95100121dc config: Fix telnetd configuration warning. 2016-07-19 08:12:41 +10:00
Chris Johns
761ae78e05 Make the license message viewable with a verbose option.
The license details can be viewed if you mount with a -v option:

 # mount -i nfs -o "-v" 1.2.3.4:/mnt /mnt
2016-07-06 10:56:23 +10:00
Chris Johns
34f6271425 Provide empty RTEMS_BSD_CFGDECL_.* defines if not used. 2016-07-01 16:43:56 +10:00
Chris Johns
65c65bb7a3 Add telnetd as service to rc.conf. 2016-07-01 15:49:52 +10:00
Chris Johns
fc26479566 Add ftpd initailize comment. 2016-06-30 13:35:37 +10:00
Chris Johns
f01b1f7209 Add RTEMS_BSD_CONFIG_DOMAIN_PAGE_MBUFS_SIZE.
The domain allocator page abd mbuf size can be configured by the
user using RTEMS_BSD_CONFIG_DOMAIN_PAGE_MBUFS_SIZE.
2016-06-30 11:42:49 +10:00