summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-08rtemsbsd/atomic: Return a value for CMPSET6-freebsd-12Kinsey Moore
When the cmpset and fcmpset functions were refactored, the return value of the operation was discarded instead of being returned for SMP builds outside of gcc 4.x. This had the effect of turning these functions into a long busywait loop that eventually failed due to integer overflow. This patch restores the use of the return value of the atomic operations.
2021-10-08waf_libbsd: Fix typo in previous patchKinsey Moore
There was a typo in the patch that added the HAVE_<LIBRARY> definition that prevented "./waf configure" from succeeding. This adds the missing character.
2021-10-06waf_libbsd: Account for library check resultsKinsey Moore
Conditionally compiled tests (consisting only of debugger01) were not compiling as expected when libdebugger was present. This appears to have occurred during the transition from header detection or due to an intervening change in the waf internal libraries. The result of check_cc() is the only location this information is reported, so library checks now set HAVE_<LIBRARY> as appropriate when the library is found so existing code for header configuration correctly recognize that a library is present.
2021-09-23rtemsbsd/syscalls: Remove pipe()Chris Johns
- This call is provided by RTEMS and that is preferred Closes #4518
2021-09-23rtemsbsd/open: Correctly open a mount directoryChris Johns
- If the open is for a directory and it is the root of the mounted file system open from the pseudo's root node.
2021-09-08freebsd/libc/rpc: Fix the fgets emulation for the internal netconfig supportChris Johns
2021-09-02imx: Remove ccm functions alredy defined in RTEMSChristian Mauderer
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-02rtemsbsd/nfs: Add support to mount NFSv2Chris Johns
- 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-08-31kern/sys: Add NFSv4 clientChris Johns
Update #4475
2021-08-28kern/sys: Import NFS and NFS file system clientChris Johns
Update #4475
2021-08-28kern/sys: Add the kernel RPC and XDR supportChris Johns
Updates #4475
2021-08-28freebsd/sys: Import RPC and XDR supportChris Johns
Update #4475
2021-08-28sys/kern: Add VFS supportChris Johns
- Refactor the libio interface - Move syscalls into an rtemsbsd location - Provide a root directory mount point Update #4475
2021-08-28rtemsbsd: Remove DHCP init wrapperChris Johns
- Object files cannot config init and resided in libbsd.a Update #4475
2021-08-28freebsd/sys: Import VFS supportChris Johns
Update #4475
2021-08-28kern: Add kernel trace support (KTR)Chris Johns
Update #4475
2021-08-28kern: Import kern_ktr.cChris Johns
Update #4475
2021-08-28kern: Add a proc0Chris Johns
- Provides the thread's proc pointer and with that access to creds Update #4475
2021-08-28kern: Import kern_prot.c fnd kern_resource.c for proc0Chris Johns
Update #4475
2021-08-28sys/kern: Add lockmgr supportChris Johns
- 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-28testsuite: Optionally allow all command in a shellChris Johns
Update #4475
2021-08-28rtemsbsd: Catch timeout overflowsChris Johns
Update #4475
2021-08-28rtemsbsd: Add FrreBSD's clang-format styleChris Johns
Update #4475
2021-08-28kern-symbols: Add symbols from the everything build setChris Johns
Update #4475
2021-08-28sys/netinet/libalias: Fix symbols clashesChris Johns
Update #4475
2021-08-28waf: Fix clashing symbols in the user land symbolsChris Johns
Update #4475
2021-08-28Implement portable kernel symbol namespace toolChris Johns
- The script's use of sort proved to not be portable - No need to check the commits as symbols are only added - Regenerated kernel header to reset the sort order Update #4475
2021-08-28bsp/motorola_powerpc: Add dc and ukphy supportChris Johns
- Add the dc net dev to the BSP - Add the ukphy support Closes # 4246
2021-08-27testsuite: Wait for the link to be UPChris Johns
- Wait for a slow PHY to bring the link UP. If the IP address is static the test can start before the link is up and the test fails. - Make 2 tests wait. Others will need to be added.
2021-08-27rtemsbsd: Add interface support routinesChris Johns
- Add the ability to check if an interface is up
2021-08-27rtemsbsd/bus: Add PCI support to the nexus busChris Johns
- Add PCI IO region support - Add support map buffers to PCI address space - Add BSP conditional IO space support. Some PC implementations have PCI IO space mapped differently to memory space and this needs to be reflected in the busspace. - Include bsp.h to pick per BSP configuration. Closes #4245
2021-07-21linker_set.h: Add alignof implementation for when not C11 or C++11Joel Sherrill
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-15nexus: Added SDHCI driver to ZynqMPStephen Clark
Made ZynqMP build with the SDHCI driver.
2021-07-15rtemsbsd: Present all ZynqMP interfaces by defaultKinsey Moore
Now that the issue with false PHY detection on unterminated MII busses has been resolved, present all hardware interfaces for use on ZynqMP.
2021-07-15freebsd/if_cgem: Fail probe for unterminated MIIKinsey Moore
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-01rtemsbsd: Use config.inc to control ZynqMP ethernetKinsey Moore
This alters the selection of the 4 Cadence GEM interfaces on the Zynq Ultrascale+ MPSoC BSP to be provided by config.inc instead of being provided by options in the RTEMS BSP itself since those options appear to be dead code when not used in conjunction with LibBSD.
2021-06-29rtemsbsd: Added a test for the TTCP command.Stephen Clark
Added a new test for the TTCP command. Modified default-network-init.h to conditionally build the shell with TTCP. Modified libbsd.py to build the new TTCP test.
2021-06-29rtemsbsd: Made TTCP command build for RTEMSStephen Clark
Updated ttcp.c to build clean for RTEMS 6 and the machines it originally built for. Also fixed ttcp.c to close network sockets after completion. Defined a shell command for TTCP in rtems-bsd-shell-ttcp.c. Added TTCP to the list of RTEMS network commands in netcmds-config.h. Added declaration of the TTCP shell command to rtems-bsd-commands.h. Modified libbsd.py to make waf build TTCP and its shell command.
2021-06-29rtemsbsd:Updated TTCP code with network demo codeStephen Clark
Updated the TTCP code to match the ttcp.c in RTEMS network-demos repository (https://git.rtems.org/network-demos/).
2021-06-29rtemsbsd: Added original TTCP codeStephen Clark
Added the original Test TCP (TTCP) program in unmodified form. Also added the original README for TTCP. Both the README and the TTCP program were sourced from the first commit in the RTEMS network demos repository.
2021-06-28rtemsbsd: Make ZynqMP CGEM interfaces selectableKinsey Moore
Use the new options from the ZynqMP BSPs to allow selection of the available CGEM ethernet interfaces.
2021-06-16builder.py: Only disable tests if they are thereChristian Mauderer
For checking the dependencies, the tests are removed. But if the tests are not enabled at all, that triggers a python exception.
2021-06-16racoon: Fix build with current toolchainChristian Mauderer
During some newlib version, the _types_fd_set has been replaced with just fd_set.
2021-06-16README: Mention SMP requirementsSebastian Huber
2021-06-15EPOCH(9): Fix epoch call and drainSebastian Huber
Since the epoch call callbacks may lock/unlock a mutex the callbacks must be called from within thread context with thread dispatching enabled. Use thread pinning to ensure that the calling thread stays on the right processor. Use the interrupt server to ensure the thread context for the epoch drain.
2021-06-11EPOCH(9): Use PER_CPU_DATA_NEED_INITIALIZATION()Sebastian Huber
Use the PER_CPU_DATA_NEED_INITIALIZATION() macro if necessary to request an initialization of the per-CPU data.
2021-06-09i386: Remove unneeded include header filesJan Sommer
2021-06-09waf_libbsd.py: Apply path-mappings to header-pathsJan Sommer
2021-05-28libbsd nfs.c: Change filesystem utime_h handler to utimens_hRyan Long
Changed nfs_utime() to nfs_utimens(), changed the arguments to use a timespec array instead of individual variables for access and modified time. Updates #4400
2021-05-11ipsec-tools/pfkey: Fix socket leakChristian Mauderer
setkey uses pfkey_open to open a socket. But setkey doesn't close the socket. The libipsec functions are used only by user space applications (setkey and racoon). Adding the wrapper for socket makes sure that the opened socket is registered and closes if the application exits. Fixes #4405