summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtemsbsd: Remove old DHCP init prototypeHEADmasterKinsey Moore2024-03-271-22/+0
| | | | | This prototype should have been removed with commit ac4db4cec5b6b1e0a25e910851e50831afb0749d.
* rtemsbsd/sys/arm: Add imxrt1166 USBPHY driverChristian Mauderer2023-08-211-0/+8
| | | | | Adds a driver for the i.MXRT1166 USB PHY and enable USB for the imxrt11xx BSPs.
* bsp/imxrt: Enable cache handlingChristian Mauderer2023-08-211-1/+1
| | | | | The BSP needs the CPU_DATA_CACHE_ALIGNMENT set to enable correct cache handling in libbsd. Otherwise for example USB doesn't work reliable.
* Define IFCAP_NOMAP for Newlib compatibilitySebastian Huber2022-07-072-0/+6
|
* Define IN_HISTORICAL_NETS for kernel spaceSebastian Huber2022-07-071-0/+3
| | | | | | | | | | | | | | | | | | | Required by FreeBSD commit: Author: Mike Karels <karels@FreeBSD.org> Date: Tue Oct 26 22:01:09 2021 -0500 kernel: deprecate Internet Class A/B/C Hide historical Class A/B/C macros unless IN_HISTORICAL_NETS is defined; define it for user level. Define IN_MULTICAST separately from IN_CLASSD, and use it in pf instead of IN_CLASSD. Stop using class for setting default masks when not specified; instead, define new default mask (24 bits). Warn when an Internet address is set without a mask. MFC after: 1 month Reviewed by: cy Differential Revision: https://reviews.freebsd.org/D32708
* Kernel-side infrastructure to implement nvlist-based set/get ifcapsKonstantin Belousov2022-07-071-0/+12
| | | | | | | Reviewed by: hselasky, jhb, kp (previous version) Sponsored by: NVIDIA Networking MFC after: 3 weeks Differential revision: https://reviews.freebsd.org/D32551
* uipc_socket.c: Modify MSG_TLSAPPDATA to only do Alert RecordsRick Macklem2022-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Without this patch, the MSG_TLSAPPDATA flag would cause soreceive_generic() to return ENXIO for any non-application data record in a TLS receive stream. This works ok for TLS1.2, since Alert records appear to be the only non-application data records received. However, for TLS1.3, there can be post-handshake handshake records, such as NewSessionKey sent to the client from the server. These handshake records cannot be handled by the upcall which does an SSL_read() with length == 0. It appears that the client can simply throw away these NewSessionKey records, but to do so, it needs to receive them within the kernel. This patch modifies the semantics of MSG_TLSAPPDATA slightly, so that it only applies to Alert records and not Handshake records. It is needed to allow the krpc to work with KTLS1.3. Reviewed by: hselasky MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D35170
* Widen ifnet_detach_sxlock coverageKristof Provost2022-07-071-0/+2
| | | | | | | | | Widen the ifnet_detach_sxlock to cover the entire vnet sysuninit code. This ensures that we can't end up having the vnet_sysuninit free the UDP pcb while the detach code is running and trying to purge the UDP pcb. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D28530
* Add the MSG_TLSAPPDATA flag to indicate "return ENXIO" for non-application ↵Rick Macklem2022-07-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | TLS data records. The kernel RPC cannot process non-application data records when using TLS. It must to an upcall to a userspace daemon that will call SSL_read() to process them. This patch adds a new flag called MSG_TLSAPPDATA that the kernel RPC can use to tell sorecieve() to return ENXIO instead of a non-application data record, when that is what is at the top of the receive queue. I put the code in #ifdef KERN_TLS/#endif, although it will build without that, so that it is recognized as only useful when KERN_TLS is enabled. The alternative to doing this is to have the kernel RPC re-queue the non-application data message after receiving it, but that seems more complicated and might introduce message ordering issues when there are multiple non-application data records one after another. I do not know what, if any, changes will be required to support TLS1.3. Reviewed by: glebius Differential Revision: https://reviews.freebsd.org/D25923
* user-space: Request FreeBSD bitset APISebastian Huber2022-06-301-0/+1
| | | | | | This is required for recent Newlib versions. Update #4667.
* Add program destructor supportSebastian Huber2022-05-121-0/+6
| | | | Update #4650.
* if_mve: Add MV643XX Ethernet driverHeinz Junkes2022-03-072-0/+402
| | | | Close #4345.
* rtems-bsd-program.h: Remove stray ';'Sebastian Huber2022-02-231-1/+1
|
* aarch64/nexus: add GEM definitions for VersalGedare Bloom2021-06-252-0/+18
|
* i386: Remove unneeded include header filesJan Sommer2021-06-072-2252/+0
|
* Revert "Import telnetd from RTEMS repository"Vijay Kumar Banerjee2021-04-131-137/+0
| | | | This reverts commit 1b07480ddc93c10777eff5072e7621ed0c96d30c.
* Import telnetd from RTEMS repositoryVijay Kumar Banerjee2021-04-071-0/+137
| | | | | The files have been taken from RTEMS repository with head commit at bd9e45d91f77657445400bc2c814f251c9e37cef
* STM32H7: Add SDMMC driverChristian Mauderer2021-04-013-0/+95
| | | | 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: Add support for nexus busSebastian Huber2020-10-271-0/+18
| | | | Update #3910.
* if_stmac: Add driver for STM32H7 ethernet moduleSebastian Huber2020-10-271-0/+5
| | | | Update #3910.
* powerpc/nexus: Add legacy PCI support to PowerPC Motorola Shared BSP familyChris Johns2020-10-261-1/+5
|
* 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
* ifmcstat: Port to RTEMSSebastian Huber2020-09-102-0/+6
|
* 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: Option to round to cache lines on syncChristian Mauderer2020-07-291-0/+3
| | | | | | | | | | 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-1/+1
| | | | 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-153-0/+146
| | | | 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.
* i386: Port to RTEMSJan Sommer2020-02-105-0/+2399
| | | | | - 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-132-0/+5
| | | | Update #3821.
* NVME(4): Port to RTEMSSebastian Huber2019-11-131-0/+0
| | | | Update #3821.
* Update to FreeBSD head 2019-09-24Sebastian Huber2019-11-139-25/+504
| | | | 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-241-1/+0
|
* C++ compatiblity for kernel space headerSebastian Huber2019-09-231-0/+8
|
* Add wrapper for strndup()Sebastian Huber2019-09-111-2/+9
|
* rtemsbsd: remove dead code fb.cVijay Kumar Banerjee2019-08-311-2/+0
|
* atomic.h: Add atomic_load_long()Sebastian Huber2019-08-271-0/+21
|
* am335x display drivers: Port to RTEMSVijay Kumar Banerjee2019-08-112-0/+4
|
* fbd: Port to RTEMSVijay Kumar Banerjee2019-08-118-0/+69
|