summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* rtemsbsd: Remove old DHCP init prototype6-freebsd-12Kinsey Moore2024-03-261-22/+0
| | | | | This prototype should have been removed with commit ac4db4cec5b6b1e0a25e910851e50831afb0749d.
* freebsd/mmcsd: Disable on-device cache usageKinsey Moore2024-03-051-0/+6
| | | | | | This disables any usage of the on-device R/W cache since all device cache maintenance functions are compiled out under RTEMS leaving no way to flush the cache before system reset and making data loss possible.
* rtemsbsd: Remove unused variableKinsey Moore2024-01-311-2/+0
|
* rtemsbsd/arasan_sdhci: Move variable init to startKinsey Moore2024-01-311-4/+6
| | | | | This moves the ZynqMP-specific variable initialization to the start of the function to avoid Coverity warnings.
* rtemsbsd/rtems: Don't leak memory on errorKinsey Moore2024-01-313-3/+19
|
* rtemsbsd/rtems: Check function return valuesKinsey Moore2024-01-314-9/+18
|
* rtemsbsd/rc-conf: Avoid use after freeKinsey Moore2024-01-311-1/+4
|
* testsuite: Add a VME testChristian Mauderer2024-01-312-0/+82
| | | | | Note: This test currently only works with a board with a Tsi148 like the MVME2500. For other boards it will print only a message.
* tsi148: Add an RTEMS VME glue layerChristian Mauderer2024-01-313-1/+167
| | | | | The glue layer provides the necessary function so that the Tsi148 driver in the BSP can use the PCI functionality from libbsd.
* Add Tsi148 driver templateSebastian Huber2024-01-315-0/+148
|
* pci_mpc85xx: Ensure access order for config-regsChristian Mauderer2024-01-311-0/+7
| | | | The CFG_ADDR has to be written before reading or writing the CFG_DATA.
* Enable kernel space pci_find_device()Sebastian Huber2024-01-313-2/+2
|
* pci_mpc85xx.c: Disable reset during initializationSebastian Huber2024-01-311-0/+2
|
* mpc85xx: Support P20XX Local Access Window regsSebastian Huber2024-01-312-0/+40
|
* Enable NEW_PCIBSebastian Huber2024-01-313-0/+30
|
* Include missing header fileSebastian Huber2024-01-311-0/+1
|
* Add pic_if.mSebastian Huber2024-01-313-0/+212
|
* pci: Back port changesSebastian Huber2024-01-312-2/+4
|
* mpc85xx: Port to RTEMSSebastian Huber2024-01-319-3/+137
|
* mpc85xx: Import from FreeBSDSebastian Huber2024-01-3112-0/+4269
|
* sys/bus.h: Fix for small-data area targetsSebastian Huber2024-01-311-0/+4
|
* i386/pc686: Fix kernel bus DMA for the PC686 BSPChris Johns2023-10-042-1/+14
| | | | | | | The x86 provides it own bus space support. Use the generic bus space calls. This however requires the BUS_SPACE_MEM tag be provided for all architectures. Make the generic value match the x86 value.
* rtemsbsd/libio: Handle invalid descriptorsKinsey Moore2023-09-201-2/+4
| | | | | | The documentation for this function suggests that it can handle invalid descriptors safely. This change allows negative descriptors to be handled without a crash.
* rtemsbsd/vfs: Use VOP_REMOVE to remove file nodesChris Johns2023-08-071-1/+5
|
* testsuite/nfs: Check the path returned by getcwdChris Johns2023-08-061-6/+13
|
* rtemsbsd/syscall: Set unitialised variable in openChris Johns2023-08-061-0/+1
| | | | | The open path length was not set when at the root node and this sometimes failed the current directory checks.
* nfs: Support multiple mounts with the same path basenameChris Johns2023-07-212-26/+37
| | | | | NFSv4 mounts NFS file systems to the flat root of a pseudo file system. This change allow the same basename to be used.
* freebsd/vfs: Pass in the td's cred to the VFS callsChris Johns2023-07-211-2/+2
| | | | Closes #4723
* syscall/open: Reference the path info directory vnodeChris Johns2023-07-212-34/+71
| | | | | | | | | The kernel open call requires a path so to open a file we need to set the current directory to the parent vnode. If the open mode is create the path info vnode is the directory to perform the open create in. Using the parent node creates the file in wrong path. Updates #4723
* freenbsd/vfs: VFS attributes need to have the same size mode_t variableChris Johns2023-07-211-0/+4
| | | | | | | If the size in the attributes struct does not match the mode_t the VNOVAL checks fail because size of the values are not the same. Updates #4723
* freebsd/if_cgem: Remove QEMU workaroundKinsey Moore2023-06-281-19/+7
| | | | | | | This removes the workaround applied on the fly for QEMU that disables priority queueing. The priority queue interrupt was not previously hooked up properly in QEMU and RSB now has the patches to allow it to work.
* rtemsbsd/versal_slcr: Fix Versal GEM clock setAaron Nyholm2023-06-202-4/+32
|
* ipsec-tools: Fix copying fd_set prior to selectChristian Mauderer2023-05-311-0/+7
| | | | | | | | | | | | | The racoon session code copies an fd_set from one variable into another prior to calling select. That works well for simple structures. In libbsd we have to allocate fd_sets instead of using fixed structures to avoid a problem with file numbers bigger than FD_SETSIZE. The simple assignment didn't work in that case. This patch makes sure that a memcpy is used instead. Update #4913
* Revert "waf: Move the tools/BSP include path to be last"Kinsey Moore2023-05-021-21/+8
| | | | | | | | This reverts commit 6ee31ae968323c71c478b2f52ec5a5cbff8c8f5d. A fix has been committed to RTEMS pkgcfg and Makefile generation to handle this issue and having this in place with the fix in RTEMS causes a failure to build.
* rtemsbsd/rc_conf: Fixed non-nullterminated string causing crashesAaron Nyholm2023-04-131-1/+3
|
* rtemsbsd/sdhci: Fix Arasan driver when no card presentRick VanderWal2023-04-041-0/+21
| | | | | | This fixes an issue where the card present signal doesn't stabilize quickly and indicates present when no card is inserted in a removable slot.
* waf: Update to waf 2.0.25Joel Sherrill2023-02-201-8/+8
| | | | Updates #4860
* vfs/nfs: Revert white space changesSebastian Huber2023-01-1220-43/+54
|
* Use FreeBSD Git repository (not obsolete mirror)Sebastian Huber2023-01-121-0/+0
| | | | Git commit c6c89ab952f9ffe895939a2621180acc99ae8b80.
* rtemsbsd/versal: Add SDHCI Driver supportAaron Nyholm2022-11-222-28/+21
| | | | | | Tested on VCK190 Closes #4762
* nexus/zynqmp: Use device trees for CGEMKinsey Moore2022-11-101-8/+4
| | | | | | This moves the ZynqMP BSPs over to using device trees for CGEM instantiation now that all BSP variants provide appropriate device trees.
* freebsd/cgem: Add SGMII supportKinsey Moore2022-11-101-0/+10
| | | | | This adds support to the CGEM driver for selection of SGMII PHY interfaces specified via device tree parameters.
* freebsd/cgem: Add device tree supportKinsey Moore2022-11-101-13/+29
| | | | | This reintroduces device tree support to the CGEM driver while preserving the ability to statically define CGEM interfaces.
* rtemsbsd/arasan_sdhci: Improve board/eMMC compatKinsey Moore2022-10-211-0/+7
| | | | | This improves the compatibility of this driver across board and memory variants by avoiding use of the HISPD mode.
* rtemsbsd/arasan_sdhci: Remove redundant clock capKinsey Moore2022-10-211-2/+0
| | | | | | | | The BSD SD subsystem enforces a 50MHz clock cap for devices which don't report their own maximum clock speed. This setting is unnecessary for the Zynq 7000 version of this IP and restricts the Zynq Ultrascale+ MPSoC version of this IP without need since it reports its maximum speed as 200MHz.
* rtemsbsd/arasan_sdhci: Update descriptionKinsey Moore2022-10-211-1/+1
| | | | | | This driver works on both the Zynq 7000 chips as well as the Zynq Ultrascale+ MPSoC chips and targets the Arasan SDHCI IP that exists in both.
* rtemsbsd/arasan_sdhci: Stop masking capabilitiesKinsey Moore2022-10-211-12/+1
| | | | | | | | The initial version of this driver was masking the capabilities register to hide 8 bit bus capability. This is not necessary since these devices report that capability correctly and the masking affects performance negatively on ZynqMP boards where the 8 bit bus is supported. This also removes two quirks that were made necessary by the capabilities masking.
* sys/bitset.h: reduce visibility of BIT_* macrosStefan Eßer2022-09-284-28/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add two underscore characters "__" to names of BIT_* and BITSET_* macros to move them to the implementation name space and to prevent a name space pollution due to BIT_* macros in 3rd party programs with conflicting parameter signatures. These prefixed macro names are used in kernel header files to define macros in e.g. sched.h, sys/cpuset.h and sys/domainset.h. If C programs are built with either -D_KERNEL (automatically passed when building a kernel or kernel modules) or -D_WANT_FREENBSD_BITSET (or this macros is defined in the source code before including the bitset macros), then all macros are made visible with their previous names, too. E.g., both __BIT_SET() and BIT_SET() are visible with either of _KERNEL or _WANT_FREEBSD_BITSET defined. The main reason for this change is that some 3rd party sources including sched.h have been found to contain conflicting BIT_* macros. As a work-around, parts of shed.h have been made conditional and depend on _WITH_CPU_SET_T being set when sched.h is included. Ports that expect the full functionality provided by sched.h need to be built with -D_WITH_CPU_SET_T. But this leads to conflicts if BIT_* macros are defined in that program, too. This patch set makes all of sched.h visible again without this parameter being passed and without any name space pollution due to BIT_* macros becoming visible when sched.h is included. This patch set will be backported to the STABLE branches, but ports will need to use -D_WITH_CPU_SET_T as long as there are supported releases that do not contain these patches. Reviewed by: kib, markj MFC after: 1 month Relnotes: yes Differential Revision: https://reviews.freebsd.org/D33235
* rtemsbsd/arasan_sd: Prevent disabled device probeKinsey Moore2022-09-161-0/+25
| | | | | | Probing a SDIO/SDHCI interface that has been disabled by system init via holding it in reset can cause a CPU hang. This prevents probing of devices that have been disabled in such a manner on ZynqMP systems.
* arm/lpc: Add option to customize device probesSebastian Huber2022-09-063-9/+67
|