1165 Commits

Author SHA1 Message Date
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
Christian Mauderer
fa43d6a7ea testsuite/syscalls01: Split out program01 part.
This allows to use normal functions for sockets and similar while
allowing to test the upcoming rtems_bsd_program_opan/close/... for the
program part.
2016-08-02 10:20:51 +02:00
Christian Mauderer
a9bd4224e8 testsuite/pf01: Add test that links PF. 2016-08-01 14:02:04 +02:00
Christian Mauderer
8dacfe492e testsuite/cdev01: Add test for cdev functions. 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
6c0cfc2173 kern_conf.c: Import from FreeBSD. 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
Chris Johns
b6c170f713 kern/sleepqueue: Update due to API changes 2016-07-28 12:19:01 +10:00
Chris Johns
a0ea5f8710 Revert "kern/sleepqueue: Update due to API changes"
This reverts commit 1bf6529d195848be4f70b091a0a5071b1c08239a.

It changes FreeBSD whitespace.
2016-07-28 12:17:08 +10:00
Chris Johns
1bf6529d19 kern/sleepqueue: Update due to API changes 2016-07-28 12:16:09 +10: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
ac0e5bfc2e Update to bring in the --show-commands fix. 2016-07-09 14:43:03 +10:00
Chris Johns
b8c7bf933c Set syslog priority to 'debug' for all tests. 2016-07-06 17:08:07 +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
4dec435385 Add a wait for key press to test rccof02. 2016-07-01 16:36:13 +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
Chris Johns
dc5b267aaa Fix wording and spelling. 2016-06-30 09:25:13 +10:00
Chris Johns
573b198243 Add DHCP support to rc.conf. 2016-06-30 09:19:52 +10:00
Chris Johns
912b685792 Make the LibBSD PID match getpid(). 2016-06-30 09:19:06 +10:00
Chris Johns
c980a04df5 Fix fomatting and C++ guard. 2016-06-30 09:18:21 +10:00
Chris Johns
45960a350d Add rtems_get_route to fetch a specific route from the routing tables. 2016-06-30 09:17:21 +10:00
Chris Johns
4a2b84469e Default syslog priority to INFO. Add rtems_setlogpriority to configure the priority.
The rc.conf has 'syslog_priority' where the priority is the name, eg

 syslog_priority="debug"

sets the priority to "debug".
2016-06-30 09:14:55 +10:00
Chris Johns
90873cc802 Add ftpd as a service. Add rtems-bsd-config.h for app libbsd set up. 2016-06-28 13:32:01 +10:00
Chris Johns
c2ec5f188b Print the service when starting. 2016-06-28 13:31:11 +10:00
Chris Johns
f588325390 Change the Nexus bus to defines and have the BSP declare them. 2016-06-28 13:30:44 +10:00
Chris Johns
ace5fb657c Enable the Cadence cgem device syctls. 2016-06-27 21:31:03 +10:00
Chris Johns
591bd2d9c7 Revert "Enable the Cadence cgem device syctls."
This reverts commit 9362e7649bde3d31b6f464f3184fe527b4dcb1d2.

Committed white space changes.
2016-06-27 21:27:01 +10:00
Chris Johns
9362e7649b Enable the Cadence cgem device syctls. 2016-06-27 21:25:38 +10:00
Chris Johns
9835790270 Enable device sysctl. 2016-06-27 21:24:03 +10:00
Chris Johns
39a650e570 Add VDE and QEMU doco. 2016-06-27 16:45:18 +10:00
Chris Johns
459d67d537 Move the Nexus bus driver decls available to users. 2016-06-27 13:35:08 +10:00
Chris Johns
7439724ac3 Add a services base test. 2016-06-27 13:32:24 +10:00
Chris Johns
55c564a028 Refactor rc.conf processing to be services based. 2016-06-27 13:32:24 +10:00
Chris Johns
c6713d1b51 Add DEFAULT_NETWORK_PAGE_MBUFS_SIZE to allow per BSP allocation domain sizes. 2016-06-27 13:32:24 +10:00
Chris Johns
9edacb625c Fix spelling. 2016-06-27 13:32:24 +10:00
Chris Johns
b23da3150b Change LibBSD to use shared interrupts. 2016-06-27 13:32:24 +10:00