Sebastian Huber
83574df474
termios: Interrupt server API changes
2017-07-12 09:06:55 +02:00
Sebastian Huber
378b5c2fa6
Use LOG_EMERG for panic()
2017-07-10 08:33:46 +02:00
Sebastian Huber
3c967ca238
Use <sys/lock.h> provided by Newlib
2017-06-08 13:20:09 +02:00
Sebastian Huber
02373194fe
Update due to Newlib 2017-06-07 changes
...
The following files are now provided by Newlib:
* arpa/inet.h
* net/if.h
* netinet/in.h
* netinet/tcp.h
* sys/socket.h
* sys/uio.h
* sys/un.h
The <sys/param.h> and <sys/cpuset.h> are now compatible enough to be
used directly.
Update #2833 .
2017-06-08 13:19:54 +02:00
Kevin Kirspel
9d4afe90bc
Add keyboard driver set variable
2017-05-19 07:24:30 +02:00
Kevin Kirspel
880a17cb0b
Adding RTEMS support for FREEBSD TTY
2017-05-11 11:15:41 +02:00
Chris Johns
53914f2774
rc_conf: Move the defaultroute_delay to the defaultroute processing.
...
If no default route is found atfer the delay timeout set the
defaultrouter value if present.
2017-04-27 14:58:09 +10:00
Chris Johns
443757313e
rc_conf: Add support for ifconfig_<interface>_alias[0-9]+.
...
The interface alias allows extra IP addresses to be set on and
interface and it also allows the MAC address to be set.
Examples:
ifconfig_em0="inet 10.10.5.33 netmask 255.255.255.0"
ifconfig_em0_alias0="ether 10:22:33:44:55:66"
ifconfig_em0_alias1="inet 10.1.1.111 netmask 0xffffffff"
2017-04-27 13:57:28 +10:00
Chris Johns
43c65f52ee
rc_conf: Do not use a local variable for the rc_conf context.
...
If a network error occurs or there is no waiter on rc_conf
processing the worker thread is left holding a local stack
struct ater the call has returned. Allocate on the heap.
2017-04-26 17:43:30 +10:00
Chris Johns
145a821cb8
rc_conf: Minor clean up in the net services.
2017-04-26 17:43:19 +10:00
Sebastian Huber
c1205ee81e
FDT(4): Port to RTEMS
2017-03-08 09:04:18 +01:00
Sebastian Huber
045ff6e11c
Add poll() and select() support for Termios
2017-02-28 10:54:50 +01:00
Christian Mauderer
ecda18104e
freebsd/wlanstats: Port to FreeBSD.
2017-01-17 12:51:30 +01:00
Christian Mauderer
9bc41d057e
lib80211/regdomain: Port to RTEMS.
2017-01-17 12:50:58 +01:00
Christian Mauderer
e9a8b5a214
wlan ratectl and sta: Call init.
2017-01-17 12:50:58 +01:00
Christian Mauderer
efc782bd1c
Port IEEE 802.11.
2017-01-17 12:50:57 +01:00
Sebastian Huber
172f2acb2b
Use thread name support
...
Update #2858 .
2017-01-13 09:20:43 +01:00
Sebastian Huber
e5ef01ed89
rtems-bsd-mutex: Update due to API changes
2017-01-11 11:52:41 +01:00
Sebastian Huber
64c663c0d1
ARP(8): Port to RTEMS
2017-01-10 11:03:32 +01:00
Sebastian Huber
c4e89a9125
VMSTAT(8): Port to RTEMS
2017-01-10 09:53:34 +01:00
Sebastian Huber
c40e45b75e
Update to FreeBSD head 2016-08-23
...
Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
2017-01-10 09:53:31 +01:00
Sebastian Huber
87e3b46296
rtems-bsd-mutex: Update due to API changes
2016-11-24 09:49:04 +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
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
Christian Mauderer
632e278d69
rtemsbsd: Add reallocf to rtems_bsd_program.
2016-10-24 08:13:04 +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
2c44b51475
Use _Thread_Get_priority()
2016-09-22 07:21:54 +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
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
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
9a01ebf7d7
kern_conf.c: Adapt for RTEMS.
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
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
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
c2ec5f188b
Print the service when starting.
2016-06-28 13:31:11 +10:00
Chris Johns
55c564a028
Refactor rc.conf processing to be services based.
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
Chris Johns
130fa3534f
Make the domain allocation size global to allow it to set in tests.
...
Some BSPs with multiple NIC locked in the tests due to not enough
memory. This provides a simple per BSP way to increase the memory
size.
2016-06-27 13:32:24 +10:00
Chris Johns
a0e49f9ae9
Add functions used the bridge and tap interfaces.
2016-06-27 13:32:24 +10:00