Sebastian Huber
ea80d58015
tcpdump: Do not use signals and chroot
...
Close #4649 .
2022-05-12 07:52:10 +02:00
Sebastian Huber
45c9bd23a0
tcpdump: Ensure loop monitor termination
...
Update #4649 .
2022-05-12 07:52:06 +02:00
Sebastian Huber
47ec4b85e5
tcpdump: No loop monitor if reading from file
...
Update #4649 .
2022-05-12 07:52:01 +02:00
Sebastian Huber
cb01e5b2a1
tcpdump: Close pcap dumper at program exit
...
Update #4649 .
2022-05-12 07:51:56 +02:00
Sebastian Huber
d5fdfbb77a
tcpdump: Use rtems_task_exit()
...
Update #4649 .
2022-05-12 07:51:52 +02:00
Sebastian Huber
a5bdd7ae40
tcpdump: Make loop monitor cooperative
...
This helps a bit if the fgetc() is non-blocking.
Update #4649 .
2022-05-12 07:51:46 +02:00
Sebastian Huber
e00ca96b98
pfctl: Fix global state initialization
...
Close #4653 .
2022-05-11 15:25:18 +02:00
Chris Johns
332cc9f47b
bsp/motorola_powerpc: Add dc, ukphy and legacy PCI support
...
- Add the dc net dev to the BSP
- Add the ukphy support
- Add PCI Legacy bus support to the PowerPC
Closes #4514
2021-09-18 17:52:31 +10:00
Jan Sommer
5c1b99e4d2
i386: Remove unneeded include header files
...
Closes #4452
2021-06-09 18:29:12 +02:00
Christian Mauderer
35bdef1fa0
ping6: Honor file descriptor maximum
...
This is basically the same as the patch for ping.
Fix #4361
2021-05-11 08:37:43 +02:00
Moyano, Gabriel
b3cdf0ee13
ehci_pci: Import from freebsd-org
...
see #4263
2021-03-08 18:24:48 +01:00
Christian Mauderer
9dd0bc27e3
Import FreeBSD license files.
...
Fix #4082
2020-09-28 13:41:25 +02:00
Sebastian Huber
0099e16d9c
ifmcstat: Port to RTEMS
...
Update #4073 .
2020-09-10 13:28:31 +02:00
Sebastian Huber
0d979d6f53
ifmcstat: Import from FreeBSD
...
Update #4073 .
2020-09-10 13:28:16 +02:00
Christian Mauderer
d38dbbe18e
imx6_usbphy: Fix regulator (vbus-supply)
...
Update #3869 .
2020-04-20 09:20:09 +02:00
Christian Mauderer
318422720b
regulator: Disable FDT parts for non-FDT targets
2020-04-17 14:43:51 +02:00
Jan Sommer
a69293ca57
i386: Port to RTEMS
...
- Update imported files to compile rtems-libbsd for i386 based BSPs
- Mostly commenting out parts which create compile or link errors in
RTEMS, but aren't needed
2020-04-17 13:18:06 +02:00
Jan Sommer
dc86c55f51
i386: Delete old machine dependent files
...
- The files in the i386 directory have been moved to common x86 directories by FreeBSD:
- freebsd/sys/x86/x86/legacy.c
- freebsd/sys/x86/include/machine/legacyvar.h
- freebsd/sys/x86/include/machine/specialreg.h
- Add header files in rtemsbsd directory to direct compiler to new files
2020-04-17 13:15:51 +02:00
Jan Sommer
efe9b55393
iflib.c: Deactivate use of ifc_cpus
...
- cpusets and SMP are currently not supported in libbsd for RTEMS
- Disable the ifc_cpus context variable and replace its usage,
essentially hard-coding for cpu 0
2020-04-17 13:15:51 +02:00
Jan Sommer
fb5499af2f
Callout: Redefine callout_reset_on for rtems
...
- callout_reset_on takes a cpu which is ignored by the subsequent call
to callout_reset_sbt_on in RTEMS.
- The macro is redefined to discard the cpu argument directly which
enables uses of it with cpu-dependent variables (disabled in
RETMS) without further changes, e.g. in iflib.c.
2020-04-17 13:15:51 +02:00
Jan Sommer
ce5b52d575
i386: Add missing files from FreeBSD
...
- Files needed to make rtems-libbsd build again for i386
2020-04-17 13:15:50 +02:00
Christian Mauderer
592003fa3e
imx: Fix build for all other BSPs.
2020-04-16 10:51:48 +02:00
Christian Mauderer
b3da96ceb8
imx6_usbphy: Add regulator (vbus-supply).
...
Update #3869 .
2020-04-15 16:14:18 +02:00
Christian Mauderer
2eab5465f3
ehci_imx: Set/clear ENHOSTDISCONNECT in USB PHY.
...
This is not a nice solution but it should work on all chips. As soon as
FreeBSD has a nice solution via the USB PHY driver, this should be
replaced.
Update #3869 .
2020-04-15 16:14:18 +02:00
Christian Mauderer
4a2d99b4b0
ehci_imx: Port to RTEMS
...
Update #3869 .
2020-04-15 16:14:18 +02:00
Sebastian Huber
29eda67d54
ehci_imx: Import from FreeBSD
...
Update #3869 .
2020-04-15 16:14:18 +02:00
Christian Mauderer
404ad60f5f
regulator: Import from FreeBSD.
...
Update #3869 .
2020-04-14 16:39:20 +02:00
Sebastian Huber
10aa08e580
imx gpio port
...
Update #3869 .
2020-04-14 16:39:20 +02:00
Sebastian Huber
f88f7a02ad
imx6_ccm: Port to RTEMS
...
Update #3869 .
2020-04-14 16:39:20 +02:00
Sebastian Huber
beabd3bfa9
imx6_ccm: Import from FreeBSD
...
Update #3869 .
2020-04-14 16:39:20 +02:00
Sebastian Huber
64c45b5a1a
usb_busdma: Add USB_NEED_BUSDMA_COHERENT_ALLOC
...
Some BSPs have a cache-coherent memory area, however, it should not be
used for the USB controller.
2020-04-14 16:39:20 +02:00
Christian Mauderer
cec7e3f982
mmcsd: Don't handle multiple hardware partitions.
...
The rtems_bsd_mmcsd_attach_worker acquired the bus without releasing it.
If a MMC device has multiple hardware partitions (like eMMC which
typically has at least one boot partition) the
rtems_bsd_mmcsd_attach_worker would try to acquire the bus multiple
times. This doesn't work.
Doing it right would mean to acquire and release the bus for each
access which would have an performance impact. Beneath that it would
mean that partition switching has to be supported by the RTEMS code too.
There is currently no known use case where the access would be
necessary. Therefore this patch prefers the performance and just avoids
all further hardware partitions.
2020-04-01 14:12:47 +02:00
Sebastian Huber
835250de09
Fix INVARIANTS support
2020-03-31 09:26:36 +02:00
Sebastian Huber
46b3858b27
Update to FreeBSD stable/12 2020-02-10
...
Git mirror commit 0d1c391321b34b3025cf0e72f2231d836ff76da8.
2020-02-18 15:00:48 +01:00
Sebastian Huber
9d905758df
EVENTHANDLER(9): Avoid multiple definition errors
2020-02-10 18:20:13 +01:00
Sebastian Huber
a8f29d695e
SOCKATMARK(3): Import from FreeBSD
...
Close #3798 .
2019-12-19 10:51:48 +01:00
Sebastian Huber
afaeccc05a
NVMECONTROL(8): Port to RTEMS
...
Update #3821 .
2019-11-13 13:22:36 +01:00
Sebastian Huber
94a7b59e06
NVMECONTROL(8): Import from FreeBSD
...
Update #3821 .
2019-11-13 13:22:25 +01:00
Sebastian Huber
6735da1a70
NVME(4): Add NVME_GET_NAMESPACE IO control
...
Update #3821 .
2019-11-13 13:22:22 +01:00
Sebastian Huber
16c04c33ef
NVME(4): Enable per-CPU IO queues
...
Update #3821 .
2019-11-13 13:22:19 +01:00
Sebastian Huber
13f34a7f73
NVME(4): Add support for SGL
...
Update #3821 .
2019-11-13 13:22:17 +01:00
Sebastian Huber
90a95b575d
NVME(4): Add SGL descriptor
...
Update #3821 .
2019-11-13 13:22:15 +01:00
Sebastian Huber
d97f1710db
NVME(4): Optimize data transfer
...
Update #3821 .
2019-11-13 13:22:14 +01:00
Sebastian Huber
aaeae61bd0
NVME(4): Big endian support
...
Update #3821 .
2019-11-13 13:22:12 +01:00
Sebastian Huber
da6b9a1891
NVME(4): Port to RTEMS
...
Update #3821 .
2019-11-13 13:22:10 +01:00
Sebastian Huber
5ac41dcb21
NVME(4): Import from FreeBSD
...
Update #3821 .
2019-11-13 13:21:54 +01:00
Sebastian Huber
b5f802ef43
Add support for EARLY_COUNTER
2019-09-25 10:59:50 +02:00
Sebastian Huber
f105680799
Remove obsolete header files
2019-09-25 09:26:20 +02:00
Sebastian Huber
4a6660cee0
Fix pgsigio() warnings
2019-09-25 09:25:06 +02:00
Sebastian Huber
37323bb819
Update to FreeBSD stable/12 2019-09-23
...
Git mirror commit 7e8d1444023128d34fb9aa4e4515928a4f794d1b.
2019-09-23 15:07:12 +02:00