summaryrefslogtreecommitdiffstats
path: root/freebsd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* linker: Enforce set alignment requirementsKinsey Moore2021-03-101-14/+37
| | | | | | | | | 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.
* ck: Update for ILP32Kinsey Moore2021-03-101-0/+8
| | | | | libck assumes all AArch64 pointers are 8 bytes. This adds the required defines to handle 4 byte pointers on ILP32.
* nexus: Add ZynqMP SLCR driverKinsey Moore2021-03-101-0/+3
| | | | | | | Add a System Level Control Register driver for the Xilinx Zynq Ultrascale+ MPSoC with basic clock control functionality for use with the Cadence GEM. This also removes the Zynq-7000 clock control weakref from compilation depending on the BSP in use.
* if_cgem: Add support for ZynqMP CGEMKinsey Moore2021-03-102-2/+284
| | | | | | This is a port of the latest patch in FreeBSD that adds support for 64bit CGEMs as used in ZynqMP. This does not include the work necessary for support on RISC-V systems.
* ehci_pci: Import from freebsd-orgMoyano, Gabriel2021-03-082-0/+635
| | | | see #4264
* if_ffec: Fix cache handling on txChristian Mauderer2020-11-171-5/+6
| | | | | | | | | | | | | | | | With the previous fix, it could happen that the end of the packet hasn't been flushed. For example assume the following addresses: ds_addr: 0x81c804A ds_len: 0x57 In that case the data ends at 0x81c80a1. But due to the rounding the area from 0x81c8040 to 0x81c80a0 would have been flushed. This fix now first calculates the start and end address, aligns these addresses and then recalculates the len that has to be flushed. Update #4180
* Update arm64/aarch64 supportKinsey Moore2020-11-137-0/+1997
|
* dwc_otg: Add support for nexus busSebastian Huber2020-10-271-0/+3
| | | | Update #3910.
* dwc_otg: Update host frame intervalSebastian Huber2020-10-271-40/+24
| | | | | | | Update the host frame interval after a device connection. Select also the FS/LS PHY clock. It is not clear if this works on all platforms. Update #3910.
* Add moxie supportSebastian Huber2020-09-291-0/+83
|
* Add or1k supportSebastian Huber2020-09-291-0/+83
|
* ck: Use default implementation < ARMv6Sebastian Huber2020-09-291-0/+2
|
* ifmcstat: Port to RTEMSSebastian Huber2020-09-076-2/+72
|
* ifmcstat: Import from FreeBSDSebastian Huber2020-09-072-0/+1320
|
* if_ffec: Align send buffers to cache if necessary.Christian Mauderer2020-07-291-2/+10
|
* rtwn_usb: Make sure buffers are cache alignedChristian Mauderer2020-07-292-0/+18
|
* busdma: Option to round to cache lines on syncChristian Mauderer2020-07-295-0/+66
| | | | | | | | | | Some targets support only flushing or invalidating complete cache lines. In this cases misaligned buffers might lead to unexpected results. This patch adds a flag that allows drivers to signal to the bus dma driver that it is OK to round a buffer to the next full cache line. That's for example necessary if a driver wants to send out 14 byte via a USB DMA. Only the driver knows whether these 14 bytes are located in an otherwise unused cache line aligned buffer.
* imx: Use RTEMS GPIO driver instead of FreeBSD oneChristian Mauderer2020-07-291-926/+0
| | | | Update 3869
* gpioregulator: Remove.Christian Mauderer2020-07-291-352/+0
| | | | | | | | | There is a bug in the #ifdef regarding FDT so this file hasn't been compiled. If that bug is solved, the driver doesn't work for some other reason. With the FDT-bug the driver hasn't been used by anyone. So just remove it again.
* imx6_usbphy: Fix regulator (vbus-supply)Christian Mauderer2020-04-201-1/+1
| | | | Update #3869.
* regulator: Disable FDT parts for non-FDT targetsChristian Mauderer2020-04-172-0/+4
|
* i386: Port to RTEMSJan Sommer2020-04-174-0/+16
| | | | | | - 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
* i386: Delete old machine dependent filesJan Sommer2020-04-173-450/+0
| | | | | | | | - 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
* iflib.c: Deactivate use of ifc_cpusJan Sommer2020-04-171-0/+24
| | | | | | - 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
* Callout: Redefine callout_reset_on for rtemsJan Sommer2020-04-171-0/+6
| | | | | | | | - 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.
* i386: Add missing files from FreeBSDJan Sommer2020-04-179-0/+9358
| | | | - Files needed to make rtems-libbsd build again for i386
* imx: Fix build for all other BSPs.Christian Mauderer2020-04-163-0/+13
|
* imx6_usbphy: Add regulator (vbus-supply).Christian Mauderer2020-04-151-0/+31
| | | | Update #3869.
* ehci_imx: Set/clear ENHOSTDISCONNECT in USB PHY.Christian Mauderer2020-04-151-0/+59
| | | | | | | | 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.
* ehci_imx: Port to RTEMSChristian Mauderer2020-04-152-0/+23
| | | | Update #3869.
* ehci_imx: Import from FreeBSDSebastian Huber2020-04-152-0/+728
| | | | Update #3869.
* regulator: Import from FreeBSD.Christian Mauderer2020-04-146-0/+2462
| | | | Update #3869.
* imx gpio portSebastian Huber2020-04-141-0/+1
| | | | Update #3869.
* imx6_ccm: Port to RTEMSSebastian Huber2020-04-141-0/+7
| | | | Update #3869.
* imx6_ccm: Import from FreeBSDSebastian Huber2020-04-146-0/+969
| | | | Update #3869.
* usb_busdma: Add USB_NEED_BUSDMA_COHERENT_ALLOCSebastian Huber2020-04-141-0/+4
| | | | | Some BSPs have a cache-coherent memory area, however, it should not be used for the USB controller.
* mmcsd: Don't handle multiple hardware partitions.Christian Mauderer2020-04-011-0/+13
| | | | | | | | | | | | | | | | 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.
* Fix INVARIANTS supportSebastian Huber2020-03-311-0/+2
|
* Update to FreeBSD stable/12 2020-02-10Sebastian Huber2020-02-18266-15980/+18691
| | | | Git mirror commit 0d1c391321b34b3025cf0e72f2231d836ff76da8.
* EVENTHANDLER(9): Avoid multiple definition errorsSebastian Huber2020-02-101-6/+4
|
* SOCKATMARK(3): Import from FreeBSDSebastian Huber2019-12-191-0/+43
| | | | Close #3798.
* NVMECONTROL(8): Port to RTEMSSebastian Huber2019-11-1322-7/+201
| | | | Update #3821.
* NVMECONTROL(8): Import from FreeBSDSebastian Huber2019-11-1323-0/+6252
| | | | Update #3821.
* NVME(4): Add NVME_GET_NAMESPACE IO controlSebastian Huber2019-11-132-0/+8
| | | | Update #3821.
* NVME(4): Enable per-CPU IO queuesSebastian Huber2019-11-131-0/+7
| | | | Update #3821.
* NVME(4): Add support for SGLSebastian Huber2019-11-134-0/+118
| | | | Update #3821.
* NVME(4): Add SGL descriptorSebastian Huber2019-11-131-0/+24
| | | | Update #3821.
* NVME(4): Optimize data transferSebastian Huber2019-11-132-0/+56
| | | | Update #3821.
* NVME(4): Big endian supportSebastian Huber2019-11-131-5/+5
| | | | Update #3821.
* NVME(4): Port to RTEMSSebastian Huber2019-11-136-0/+30
| | | | Update #3821.