Sebastian Huber
da3551ad94
netstat: Do not use signals
2022-06-22 17:25:12 +02:00
Sebastian Huber
60986c25e0
wlanstats: Do not use signals
2022-06-22 17:25:12 +02:00
Sebastian Huber
c178af7dfa
ping6: Do not use signals
2022-06-22 17:25:12 +02:00
Sebastian Huber
04564e61c6
ping: Do not use signals
2022-06-22 17:25:12 +02:00
Sebastian Huber
86d6b72349
openssl: Do not use signals
2022-06-22 17:25:12 +02:00
Sebastian Huber
204790a525
wpa: Use CONFIG_ELOOP_KQUEUE
...
This avoids issues with the fd_set size.
2022-06-22 17:25:12 +02:00
Sebastian Huber
ef338b80c0
wpa: Do not use signals
2022-06-22 17:25:12 +02:00
Sebastian Huber
0761774abd
Revert white space changes
2022-06-22 17:25:12 +02:00
Chris Johns
c56a34f547
freebsd/nfsv4: Fix misaligned 64bit user dirent write
2022-06-20 13:04:11 +10:00
Sebastian Huber
dba9346b43
uma_core.c: Fix use of uninitialized variable
...
Update #4475 .
2022-06-08 15:16:36 +02:00
Christian Mauderer
c9b4bed650
if_ffec: Allow PHY that is connected to other FFEC
...
The i.MX6UL (and some others from the i.MX family) have shared MDIO
lines for multiple FFECs. This patch allows to use the MDIO interface
from another Ethernet controller.
Note that you have to make sure that the FFECs are initialized in the
right order. Normally that can be done via FDT.
2022-06-07 09:08:04 +02:00
Christian Mauderer
2a6a230e65
if_ffec: Reduce buffer size
...
Typical embedded systems don't have that much memory. Reduce the buffer
size to something more sensible for the usual type of application.
2022-06-07 09:08:00 +02:00
Sebastian Huber
83a979855a
libc: Include <sys/types.h> for RTEMS
...
This fixes an issue with a recent Newlib which no longer includes <sys/types.h>
in <stdio.h>.
2022-05-18 09:48:07 +02:00
Sebastian Huber
8e706de3a5
libc: Avoid conflict with Newlib __sinit()
2022-05-18 09:48:07 +02:00
Sebastian Huber
1654d5e8fc
tcpdump: Do not rely on u_char typedef
2022-05-18 09:48:07 +02:00
Sebastian Huber
584dd8d940
tcpdump: Do not use signals and chroot
...
Update #4650 .
2022-05-12 07:45:31 +02:00
Sebastian Huber
45dfdc1c52
tcpdump: Ensure loop monitor termination
...
Update #4650 .
2022-05-12 07:45:31 +02:00
Sebastian Huber
70c9ac2771
tcpdump: No loop monitor if reading from file
...
Update #4650 .
2022-05-12 07:45:31 +02:00
Sebastian Huber
869cb1adc1
tcpdump: Close pcap dumper at program exit
...
Update #4650 .
2022-05-12 07:45:31 +02:00
Sebastian Huber
face369437
tcpdump: Use rtems_task_exit()
...
Update #4650 .
2022-05-12 07:45:31 +02:00
Sebastian Huber
bd2201b9df
tcpdump: Make loop monitor cooperative
...
This helps a bit if the fgetc() is non-blocking.
Update #4650 .
2022-05-12 07:45:31 +02:00
Sebastian Huber
435b298b0f
pfctl: Fix global state initialization
...
Update #4654 .
2022-05-11 15:21:34 +02:00
Alex White
22e531d7f0
if_xae: Fix non-FDT BSP build error
...
This fixes a compiler error that would occur for every BSP that does not
define `BSP_FDT_IS_SUPPORTED`. The fdt headers should always be included
to provide the needed definitions.
2022-03-10 08:22:39 +01:00
Alex White
40b9c6ce63
if_xae: Port to RTEMS
2022-03-07 17:04:05 -06:00
Jennifer Averett
ee4fb53241
if_xae: Import from FreeBSD
2022-03-07 17:04:05 -06:00
Jennifer Averett
d10228ddba
Add MicroBlaze support
2022-03-07 17:04:05 -06:00
Kinsey Moore
f4cf022ad4
Import arm64 in_cksum.h correctly
...
When this file was brought in, it came from the wrong location or
freebsd-org hash. This corrects the file such that freebsd-to-rtems.py
runs cleanly.
2021-12-16 08:53:10 -06:00
Chris Johns
715e29f2a0
freebsd/libc/rpc: Fix the fgets emulation for the internal netconfig support
2021-09-08 09:23:09 +10:00
Christian Mauderer
b7c51ac449
imx: Remove ccm functions alredy defined in RTEMS
...
The imx_ccm_*_hz are all defined in RTEMS. So don't duplicate them in
libbsd. Otherwise some applications get linker errors.
Update #3869
2021-09-02 09:19:27 +02:00
Chris Johns
7e282d2506
rtemsbsd/nfs: Add support to mount NFSv2
...
- NFSv2 requires userland RPC calls to determine the version of
NFS and the FH. This is passed to the kernel.
- Port more libc/rpc.
Update #4475
2021-09-02 08:45:12 +10:00
Chris Johns
882425fe54
kern/sys: Add NFSv4 client
...
Update #4475
2021-08-31 18:38:48 +10:00
Chris Johns
6138f242be
kern/sys: Import NFS and NFS file system client
...
Update #4475
2021-08-28 10:25:46 +10:00
Chris Johns
c6dbc96748
kern/sys: Add the kernel RPC and XDR support
...
Updates #4475
2021-08-28 10:25:46 +10:00
Chris Johns
3da45ae4bc
freebsd/sys: Import RPC and XDR support
...
Update #4475
2021-08-28 10:25:46 +10:00
Chris Johns
6514d56158
sys/kern: Add VFS support
...
- Refactor the libio interface
- Move syscalls into an rtemsbsd location
- Provide a root directory mount point
Update #4475
2021-08-28 10:25:46 +10:00
Chris Johns
1739d74f7d
freebsd/sys: Import VFS support
...
Update #4475
2021-08-28 10:24:38 +10:00
Chris Johns
e56b5cb135
kern: Add kernel trace support (KTR)
...
Update #4475
2021-08-28 10:24:38 +10:00
Chris Johns
9800a0f9fa
kern: Import kern_ktr.c
...
Update #4475
2021-08-28 10:24:38 +10:00
Chris Johns
c7427fc154
kern: Add a proc0
...
- Provides the thread's proc pointer and with that access to creds
Update #4475
2021-08-28 10:24:38 +10:00
Chris Johns
761fd69393
kern: Import kern_prot.c fnd kern_resource.c for proc0
...
Update #4475
2021-08-28 10:24:38 +10:00
Chris Johns
46a15fa7aa
sys/kern: Add lockmgr support
...
- See `man lockmgr`
- Implement the lock_object and move the RTEMS mutex to that object
- Add debug support to track the locks with gdb
Update #4475
2021-08-28 10:24:38 +10:00
Chris Johns
5ef23a2836
sys/netinet/libalias: Fix symbols clashes
...
Update #4475
2021-08-28 10:24:37 +10:00
Chris Johns
f5c405ec05
bsp/motorola_powerpc: Add dc and ukphy support
...
- Add the dc net dev to the BSP
- Add the ukphy support
Closes # 4246
2021-08-28 10:23:41 +10:00
Joel Sherrill
c5e81a2169
linker_set.h: Add alignof implementation for when not C11 or C++11
...
The default implementation was completely broken. Use the GCC specific
__alignof__ if compiling for C99 or C++03. If not C++11, C11, or
GCC, then it is an error.
2021-07-21 17:00:22 -05:00
Kinsey Moore
14576608a9
freebsd/if_cgem: Fail probe for unterminated MII
...
When the MII bus is unterminated on unused interfaces, it results in PHY
read timeouts which manifest as spurious PHYs during the attach call.
Detect these timeouts during the probe so the device can be ignored.
2021-07-15 10:07:16 -05:00
Jan Sommer
974ab1568a
i386: Remove unneeded include header files
2021-06-09 18:47:07 +02:00
Christian Mauderer
00a5f9748e
MMCSD: Use cache aligned alloc for ioctl
...
Some drivers can't easily work with buffers that are not cache aligned
and have an arbitrary length. Therefore use an aligned malloc instead.
2021-04-19 09:02:22 +02:00
Christian Mauderer
33e3cf8eaf
ping6: Honor file descriptor maximum
...
This is basically the same as the patch for ping.
Update #4360
2021-03-26 14:08:01 +01:00
Kinsey Moore
3abebabf1d
linker: Enforce set alignment requirements
...
According to commentary on GCC bug
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99143 , the alignment
behavior of linker sections on which RTEMS has relied was never
guaranteed to be consistent across platforms and any alignment
requirements for linker sections needs to be enforced explicitly.
This adds those explicit alignment requirements.
2021-03-10 08:57:59 -06:00
Kinsey Moore
28129f8ee6
ck: Update for ILP32
...
libck assumes all AArch64 pointers are 8 bytes. This adds the required
defines to handle 4 byte pointers on ILP32.
2021-03-10 08:57:59 -06:00