summaryrefslogtreecommitdiffstats
path: root/rtemsbsd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* EPOCH(9): Fix epoch call and drainSebastian Huber2021-06-111-4/+35
| | | | | | | 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.
* EPOCH(9): Use PER_CPU_DATA_NEED_INITIALIZATION()Sebastian Huber2021-06-101-0/+4
| | | | | Use the PER_CPU_DATA_NEED_INITIALIZATION() macro if necessary to request an initialization of the per-CPU data.
* i386: Remove unneeded include header filesJan Sommer2021-06-072-2252/+0
|
* libbsd nfs.c: Change filesystem utime_h handler to utimens_hRyan Long2021-05-281-25/+25
| | | | | | | | 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
* iicbus/rtems-i2c.c: Add rtems,path as an additional bus pathG S Niteesh Babu2021-04-221-3/+5
| | | | | | Adds "rtems,path" as an additional bus path for the i2c driver. Previously the bus path was provided in "rtems,i2c-path" property only.
* st-sdmmc: Handle short not cache aligned buffersChristian Mauderer2021-04-191-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Possible data sources for SD driver: - mmc_sd_switch(): - length: 64 byte; - buffer on stack - mmc_test_bus_width(): - length: 4 or 8 byte - buffer in program memory or on stack - mmc_app_send_scr(): - length: 8 byte - buffer from device ivar structure - mmc_app_sd_status(): - length: 64 byte - buffer from device ivar structure - mmc_send_ext_csd(): - length: MMC_EXTCSD_SIZE = 512 - buffer from device ivar structure - rtems_bsd_mmcsd_disk_read_write(): - length: depends on read - buffer from rtems_blkdev buffer -> already aligned - mmcsd_ioctl_cmd(): - length: depends on call - buffer malloced, not aligned -> patched in RTEMS So the problematic buffers are only the ones up to 512 bytes. Copy these data into a buffer to avoid that problem.
* Revert "Import telnetd from RTEMS repository"Vijay Kumar Banerjee2021-04-139-2087/+0
| | | | This reverts commit 1b07480ddc93c10777eff5072e7621ed0c96d30c.
* Import telnetd from RTEMS repositoryVijay Kumar Banerjee2021-04-079-0/+2087
| | | | | The files have been taken from RTEMS repository with head commit at bd9e45d91f77657445400bc2c814f251c9e37cef
* STM32H7: Fix SDMMC build for all other BSPsChristian Mauderer2021-04-012-0/+12
|
* STM32H7: Add SDMMC driverChristian Mauderer2021-04-015-0/+988
| | | | Update #4372
* arm/ti/ti_pinmux: Remove TI pinmux driverG S Niteesh Babu2021-03-212-6/+0
| | | | | | | | | | | | | | The TI driver has been moved to RTEMS so the driver can be removed from libBSD. The following files have been removed from libBSD and moved to RTEMS. 1) ti/am335x/am335x_scm_padconf.c 2) ti/am335x/am335x_scm_padconf.h 3) ti/ti_pinmux.c 4) ti/ti_pinmux.h Update #3784
* Add CGEM definitions for ZynqMPKinsey Moore2020-11-242-0/+23
|
* imxrt: Add supportChristian Mauderer2020-11-201-0/+8
| | | | Update #4180
* Update arm64/aarch64 supportKinsey Moore2020-11-131-0/+1
|
* dwc_otg: Enable voltage detectorSebastian Huber2020-10-271-0/+1
| | | | Update #3910.
* dwc_otg: Add support for nexus busSebastian Huber2020-10-273-0/+271
| | | | Update #3910.
* if_stmac: Add driver for STM32H7 ethernet moduleSebastian Huber2020-10-272-0/+1013
| | | | Update #3910.
* NVD(4): Fix logical block count calculationSebastian Huber2020-10-271-4/+5
| | | | Close #4164.
* NVD(4): Fix NULL pointer access in nvd_sync()Sebastian Huber2020-10-271-14/+14
| | | | Update #4164.
* powerpc/nexus: Add legacy PCI support to PowerPC Motorola Shared BSP familyChris Johns2020-10-263-1/+9
|
* tsc_lpc32xx.c: Update due to API changesSebastian Huber2020-09-231-5/+7
|
* linux/crc32.h: Update due to API changesSebastian Huber2020-09-221-1/+1
|
* linux/genalloc.h: Update due to API changesSebastian Huber2020-09-211-1/+1
|
* i386: Delete old machine dependent filesJan Sommer2020-09-161-145/+1
| | | | | | | | - The files in the i386 directory have been moved to common x86 directories by FreeBSD: - freebsd/sys/i386/include/machine/bus.h - 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
* rtems-bsd-cxx: Undefine _GNU_SOURCESebastian Huber2020-09-141-0/+1
| | | | | | | | | At least the powerpc C++ compiler defines currently _GNU_SOURCE due to a GCC configuration error. This leads to conflicting qsort_r() definitions. As a workaround undefine _GNU_SOURCE for this C++ compatibility test file. Update #4078.
* ifmcstat: Port to RTEMSSebastian Huber2020-09-103-0/+42
|
* nfsclient: Next attempt to fix 64-bit targetsSebastian Huber2020-08-181-62/+27
| | | | | | | In serporidok use the same structures used to hand over to the XDR encode/decode routines. We must not mix packed and unpacked structures. Close #4025.
* Fix linker errors with minimal build setSebastian Huber2020-08-061-0/+5
|
* Conditionally include <bsp/linker-symbols.h>Sebastian Huber2020-08-051-2/+4
| | | | Remove superfluous <bsp.h> include.
* imx: Don't use USB_NEED_BUSDMA_COHERENT_ALLOCChristian Mauderer2020-07-291-1/+1
| | | | | | | That option makes problems with some drivers because the buffers are not allways cache line aligned. Update 3869
* busdma: Don't sync nocache memory on ARMChristian Mauderer2020-07-291-0/+8
| | | | The busdma shouldn't try to flush or invalidate cache in a nocache area.
* busdma: Option to round to cache lines on syncChristian Mauderer2020-07-293-0/+15
| | | | | | | | | | 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-292-1/+307
| | | | Update 3869
* gpioregulator: Remove.Christian Mauderer2020-07-291-1/+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.
* ehci_imx: Add to build.Christian Mauderer2020-04-151-0/+5
|
* Add support for i.mx cache.Christian Mauderer2020-04-151-1/+1
| | | | Update #3869.
* regulator: Add to build.Christian Mauderer2020-04-155-0/+225
| | | | Update #3869.
* imx6_ccm: Add and build module.Christian Mauderer2020-04-151-0/+2
| | | | Update #3869.
* usb_busdma: Add USB_NEED_BUSDMA_COHERENT_ALLOCSebastian Huber2020-04-151-0/+5
| | | | | Some BSPs have a cache-coherent memory area, however, it should not be used for the USB controller.
* nfsclient: Use a system event for RPCSebastian Huber2020-03-181-6/+6
| | | | Aviod conflicts with application events.
* i386: Port to RTEMSJan Sommer2020-02-106-0/+2401
| | | | | - Update imported files to compile rtems-libbsd for i386 based BSPs - Currently does not support the option "dev_nic_e1000 = on"
* NVMECONTROL(8): Port to RTEMSSebastian Huber2019-11-133-0/+39
| | | | Update #3821.
* NVD(4): Add RTEMS-specific NVMe disk driverSebastian Huber2019-11-131-0/+341
| | | | Update #3821.
* NVME(4): Port to RTEMSSebastian Huber2019-11-131-0/+0
| | | | Update #3821.
* Update to FreeBSD head 2019-09-24Sebastian Huber2019-11-1312-28/+545
| | | | Git mirror commit 6b0307a0a5184339393f555d5d424190d8a8277a.
* Add support for EARLY_COUNTERSebastian Huber2019-09-251-0/+10
|
* Remove obsolete header filesSebastian Huber2019-09-241-1/+0
|
* Compatibility for next Newlib updateSebastian Huber2019-09-241-0/+4
|
* Fix pgsigio() warningsSebastian Huber2019-09-242-51/+0
|
* nexus: Avoid NULL pointer accessSebastian Huber2019-09-231-1/+4
|