974 Commits

Author SHA1 Message Date
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
Sebastian Huber
b5cdb95337 condvar01: Initialize mutex 2015-06-23 09:13:55 +02:00
Sebastian Huber
b22ad9f4c5 rtems-bsd-mutex: Fix resource count updates 2015-06-23 08:58:58 +02:00
Chris Johns
b9fb1ef331 Update libbsd.txt with Xilinx Zynq TXCSUM and RXCSUM controls. 2015-06-22 10:43:47 +10:00
Chris Johns
0d003d7e73 Revert "if_cgem: Enable hardware checksum assist"
This reverts commit dec6b678bba05624335c87b73dc160b54d845cbd.

This default for TXCSUM and RXCSUM should be used and a user should
turn on TXCSUM and RXCSUM.
2015-06-22 10:40:36 +10:00
Chris Johns
82830ce063 Revert "Return the default TX and RX hardware checksum for the Cadence driver to off."
This reverts commit 54fb9f01f86286ecea3093f6f524afec86d6313f.

This change adds white space changes. A better solution is to revert
the original change.
2015-06-22 10:39:41 +10:00
Chris Johns
54fb9f01f8 Return the default TX and RX hardware checksum for the Cadence driver to off.
The hardware support does not seem to work with qemu. The support can be
enabled with ifconfig or via ioctl on real hardware to get the
performance boost.
2015-06-19 17:35:06 +10:00
Chris Johns
59bc7c1f5f Remove #undefs and fix formatting. 2015-06-19 16:07:32 +10:00
Chris Johns
c31922b8c4 Fix RTEMS ifdef labelling. 2015-06-19 15:32:13 +10:00
Chris Johns
54409c7f6e Supply /dev/bpf and /dev/bpf0. Both are needed. 2015-06-19 15:25:06 +10:00
Chris Johns
98d7c3c015 Check if RTEMS is built with POSIX. 2015-06-17 09:55:53 +10:00
Chris Johns
2abb43138e Add the missing generated libpcap file. 2015-06-16 21:23:12 +10:00
Chris Johns
affed5e3f5 Add BDS command support headers. 2015-06-16 13:20:15 +10:00
Chris Johns
06cd120921 TCPDUMP and PCAP fixes to defines. 2015-06-16 13:19:32 +10:00
Chris Johns
5e02888822 Add the TCPDUMP command. 2015-06-16 13:18:38 +10:00
Chris Johns
cff78462ff Add the TCPDUMP command. 2015-06-16 13:17:56 +10:00
Chris Johns
50500b5e97 The BPF dev node needs a minor number for tcpdump. 2015-06-16 13:17:19 +10:00
Chris Johns
b5aca58594 Add error() to the BSD program support. 2015-06-16 13:16:37 +10:00
Chris Johns
59a9e6a5da Fix KVM symbol generator to remove warnings. 2015-06-16 13:15:49 +10:00
Chris Johns
7c8c0eb134 Provide the missing cdecl for _nsdispatch. 2015-06-16 12:53:46 +10:00
Chris Johns
8440506ee8 Add tcpdump and libpcap.
- Update the file builder generator to handle generator specific cflags and
  includes. The tcpdump and libpcap have localised headers and need specific
  headers paths to see them. There are also module specific flags and these
  need to be passed to the lex and yacc generators.

- Add the tcpdump support.
2015-06-15 17:42:23 +10:00