230 Commits

Author SHA1 Message Date
Christian Mauderer
19e8a6455d freebsd: Use constant ipv6 addresses from vars.c. 2016-08-04 14:38:48 +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
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
Chris Johns
6201756829 Fix buiding for the i386. 2015-07-16 21:05: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
54409c7f6e Supply /dev/bpf and /dev/bpf0. Both are needed. 2015-06-19 15:25:06 +10:00
Chris Johns
50500b5e97 The BPF dev node needs a minor number for tcpdump. 2015-06-16 13:17:19 +10:00
Sebastian Huber
595b333ad2 Add INVARIANTS support 2015-05-20 15:03:32 +02:00
Sebastian Huber
7d44707145 Fix struct ucred warnings 2015-05-20 15:03:32 +02:00
Sebastian Huber
e65165bc2c SLEEPQUEUE(9): Update due to RTEMS API changes 2015-05-20 10:13:49 +02:00
Sebastian Huber
8eaa39fcef Update due to API changes (timecounters) 2015-05-20 09:58:22 +02:00
Sebastian Huber
f2cb584a61 Update rtems_bsd_force_select_timeout() 2015-05-20 09:58:22 +02:00
Sebastian Huber
1ee85a59b7 SLEEPQUEUE(9): Update due to API changes 2015-05-20 09:58:22 +02:00
Sebastian Huber
c2f2392028 SLEEPQUEUE(9): Avoid Giant lock 2015-05-20 09:58:22 +02:00
Sebastian Huber
165dd8ea12 Update to FreeBSD Stable/9 2015-04-08 2015-05-20 09:58:21 +02:00
Sebastian Huber
4dab3a04bb ZONE(9): Disable uma_prealloc() 2015-05-15 15:40:58 +02:00
Sebastian Huber
278bc93a59 usb: Import USB support from libusb 2015-05-15 15:40:55 +02:00
Sebastian Huber
67f84974ad SLEEPQUEUE(9): Update due to API changes 2015-04-23 14:56:08 +02:00
Sebastian Huber
c6e85efd7e Use signed integer type for ticks 2015-04-08 07:58:52 +02:00
Sebastian Huber
8b722dba65 SLEEPQUEUE(9): Include missing header file 2015-04-08 07:58:52 +02:00
Sebastian Huber
da5e3a21d0 if_dwc: Avoid mbuf use after free 2015-04-08 07:57:05 +02:00
Sebastian Huber
ebc797fc84 if_dwc: Increase DMA descriptor count
This prevents some packet loss under heavy load conditions.
2015-04-08 07:57:05 +02:00
Sebastian Huber
fb7a5329b0 if_dwc: Typo 2015-04-08 07:57:05 +02:00
Sebastian Huber
6b176ce668 if_dwc: Checksum offload 2015-04-01 09:15:30 +02:00
Sebastian Huber
a681853878 if_dwc: Avoid tx defrag if possible
Drop packets in case of resource shortage.
2015-04-01 09:15:30 +02:00
Sebastian Huber
822aa5dee2 if_dwc: Simplify tx desc setup 2015-04-01 09:15:30 +02:00
Sebastian Huber
dd1feda161 if_dwc: Fix transmit starvation 2015-04-01 09:15:29 +02:00
Sebastian Huber
1535c87c81 if_dwc: Avoid NULL pointer access 2015-04-01 09:15:29 +02:00
Sebastian Huber
4a5a309059 if_dwc: Fix warning 2015-04-01 09:15:29 +02:00
Sebastian Huber
6a4b5a45e1 if_dwc: Use explicit cache operations 2015-04-01 09:15:29 +02:00
Sebastian Huber
d5ad68ab54 if_dwc: Move interrupt handler install 2015-04-01 09:15:29 +02:00
Sebastian Huber
8f12e89b1f if_dwc: Reduce DMA descriptor count 2015-04-01 09:15:29 +02:00
Sebastian Huber
c94bb491a0 if_dwc: Add nexus device support 2015-04-01 09:15:29 +02:00
Sebastian Huber
d3a6abb1a5 if_dwc: Use rtems_bsd_get_mac_address() 2015-04-01 09:15:29 +02:00
Sebastian Huber
acab7270b6 if_dwc: Workaround for missing FDT support 2015-04-01 09:15:29 +02:00