994 Commits

Author SHA1 Message Date
Christian Mauderer
0157c5b2c1 if_ffec_mcf548x: Init when interface is set to UP.
Call the driver initialization function if the interface is set to UP.
4.11.0 4.11.1 4.11.2 4.11.3
2016-08-05 13:11:28 +02:00
Christian Mauderer
6bf772b86c netstat: Don't init vars if they are not defined.
The variables are not available, if there is no INET6 defined.
2016-08-04 14:39:08 +02:00
Christian Mauderer
19e8a6455d freebsd: Use constant ipv6 addresses from vars.c. 2016-08-04 14:38:48 +02:00
Christian Mauderer
09ab4312c8 testsuite/pf02: Add interactive pf test. 2016-08-03 14:13:19 +02:00
Christian Mauderer
ccd0ebc9f0 libbsd.txt: Add section describing PF. 2016-08-03 14:13:19 +02:00
Christian Mauderer
c3a8e6bb86 libbsd.txt: Add guide for user space tools. 2016-08-03 14:13:19 +02:00
Christian Mauderer
2d1da0d1c3 testsuite/pf01: Test pfctl and pf. 2016-08-03 14:13:19 +02:00
Christian Mauderer
b0eda365d2 pfctl: Add rtems_bsd_command_pfctl. 2016-08-03 14:13:18 +02:00
Christian Mauderer
f19c53caab pfctl: build files. 2016-08-03 14:13:18 +02:00
Christian Mauderer
709fbfa834 pfctl: Add yacc generated file. 2016-08-03 14:13:18 +02:00
Christian Mauderer
4831944a2b pfctl: Adapt for RTEMS. 2016-08-03 14:13:18 +02:00
Christian Mauderer
85dd33213b pfctl: Use static where possible. 2016-08-03 14:13:18 +02:00
Christian Mauderer
d112679e4b 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-03 14:13:18 +02:00
Christian Mauderer
bf8e51bc48 pfctl: Match prototype.
Note: This should be upstreamed into BSD.
2016-08-03 14:13:18 +02:00
Christian Mauderer
084d4db8f4 pfctl: Import sources from FreeBSD. 2016-08-03 14:13:18 +02:00
Christian Mauderer
fef6dd1def 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-03 14:13:18 +02:00
Christian Mauderer
87d0cda686 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-03 14:13:18 +02:00
Christian Mauderer
c78c296336 rtemsbsd: Add call to program with a data restore
This adds the rtems_bsd_program_call_main_width_data_restore function.
2016-08-03 14:13:18 +02:00
Christian Mauderer
110dbd0267 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-03 14:13:18 +02:00
Christian Mauderer
c117a285de testsuite/pf01: Add test that links PF. 2016-08-03 14:13:18 +02:00
Christian Mauderer
d2f6de83d9 rtems-bsd-symbols.h: add pf symbols. 2016-08-03 14:13:17 +02:00
Christian Mauderer
881135bd64 linkersets.h: Add necessary macros from rtems 4.12. 2016-08-03 14:13:17 +02:00
Christian Mauderer
8953442793 rtemsbsd: Add linkersets.h from current rtems 4.12. 2016-08-03 14:13:17 +02:00
Christian Mauderer
1229ace609 testsuite/cdev01: Add test for cdev functions. 2016-08-03 14:13:17 +02:00
Christian Mauderer
be3aa09d95 kern_conf.c: Adapt for RTEMS. 2016-08-03 14:13:17 +02:00
Christian Mauderer
8ae7a21381 kern_conf.c: Import from FreeBSD. 2016-08-03 14:13:17 +02:00
Christian Mauderer
9e8c422066 rtemsbsd/devfs: Add. 2016-08-03 14:13:17 +02:00
Sebastian Huber
3462a12f52 Dummy securelevel_ge() and securelevel_gt() 2016-08-03 14:13:17 +02:00
Sebastian Huber
48cac54035 subr_prf.c: Port to RTEMS.
Note: Only the XXsYYprintf functions have been back ported from 4.12.
2016-08-03 14:13:17 +02:00
Sebastian Huber
e849e25522 subr_prf.c: Import from FreeBSD 2016-08-03 14:13:17 +02:00
Sebastian Huber
ce4cfe1f07 ZONE(9): Fix mp_maxid definition 2016-05-06 09:00:25 +02:00
Chris Johns
5611dfaf95 The maxid is not the number of cpus. 2016-05-06 09:00:16 +02:00
Sebastian Huber
af60212c0b Fix heap corruption in UNIX domain socket connect
Close #2558.
2016-02-02 08:04:33 +01:00
Sebastian Huber
d1558f38f7 SOCKETPAIR(2): Port to RTEMS 2015-11-16 09:54:29 +01:00
Sebastian Huber
5aa22c60af Update rtems_waf module 2015-11-16 08:06:16 +01:00
Sebastian Huber
e18bac8a55 Rename kernel space log() to _bsd_log()
This avoids a conflict with the standard math library log() function.
2015-11-10 10:19:04 +01:00
Sebastian Huber
c764753838 Delete broken Makefile, use waf instead 2015-11-10 08:27:48 +01:00
Sebastian Huber
4d235ad015 NSDISPATCH(3): Add proper nsparser.h
Update nsparser.h to fit with the files introduced via
e35a65e99512000ab0107c4fc64f89aa84f7de38.
2015-10-19 10:02:05 +02:00
Sebastian Huber
7c011f7429 media01: Add network and SMP support 2015-09-11 11:52:52 +02:00
Sebastian Huber
662f7ece73 ZONE(9): Fix slab flag handling
Disable unused slab flags.
2015-09-11 11:52:52 +02:00
Sebastian Huber
b59b1b7866 ZONE(9): Disable unused field 2015-09-11 11:52:52 +02:00
Sebastian Huber
14ec092058 ZONE(9): Define SMP if RTEMS_SMP is defined 2015-09-11 11:52:52 +02:00
Sebastian Huber
64f61637b8 if_dwc: Fix a possible interrupt starvation 2015-09-11 11:52:52 +02:00
Sebastian Huber
da08198f72 if_dwc: Invalidate read buffer again
This may prevent problems in case a cache line prefetch added some lines
to the cache during a DMA transfer.
2015-09-11 11:52:52 +02:00
Sebastian Huber
3cb5e9ef6d Update due to header guard changes 2015-07-23 15:38:50 +02:00
Chris Johns
6201756829 Fix buiding for the i386. 2015-07-16 21:05:47 +10:00
Sebastian Huber
a57dfa0ded libbsd.txt: Clarify rules to modify FreeBSD code 2015-07-15 09:57:45 +02:00
Chris Johns
c6e539593e tcpdump: Return the PCAP loop return value. Increase the stack size. 2015-06-26 15:20:22 +10:00
Chris Johns
9ee5268786 tcpdump: Allow enter/return to exit tcpdump.
Implement the PCAP loop in a separate thread and block the shell
thread in the stdin getchar. When a user presses enter/return
call the PCAP break loop function to have it return.
2015-06-26 15:15:57 +10:00
Gene Smith
45a60417e8 modified: waf_generator.py Fix incorrect encoding of NET_CFG_GATEWAY_IP and change _IP_IP ending to _IP. Remove _IP_IP ending from NET_TAP_INTERFACE.
modified:   wscript
Re-generated from "./freebsd-to-rtems -m" based on
waf_generator.py
2015-06-26 14:07:03 +10:00