381 Commits

Author SHA1 Message Date
Chris Johns
bff15c3326 powerpc/nexus: Add legacy PCI support to PowerPC Motorola Shared BSP family 2020-10-26 07:42:09 +11:00
Jan Sommer
66019c3e78 i386: Delete old machine dependent files
- 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
2020-09-16 15:52:58 +10:00
Sebastian Huber
d56d9b6d3b ifmcstat: Port to RTEMS 2020-09-10 13:24:18 +02:00
Christian Mauderer
828969e525 imx: Don't use USB_NEED_BUSDMA_COHERENT_ALLOC
That option makes problems with some drivers because the buffers are not
allways cache line aligned.

Update 3869
2020-07-29 11:19:14 +02:00
Christian Mauderer
4820ccecc9 busdma: Option to round to cache lines on sync
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.
2020-07-29 11:19:14 +02:00
Christian Mauderer
7e5d93bb6b imx: Use RTEMS GPIO driver instead of FreeBSD one
Update 3869
2020-07-29 11:19:00 +02:00
Christian Mauderer
469cc8fbb7 gpioregulator: Remove.
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.
2020-07-29 11:15:42 +02:00
Christian Mauderer
f33b6a0f3b ehci_imx: Add to build. 2020-04-15 16:32:34 +02:00
Christian Mauderer
c54699f40f Add support for i.mx cache.
Update #3869.
2020-04-15 16:32:34 +02:00
Christian Mauderer
e518d8c72c regulator: Add to build.
Update #3869.
2020-04-15 16:32:24 +02:00
Christian Mauderer
6624d6ee32 imx6_ccm: Add and build module.
Update #3869.
2020-04-15 16:18:44 +02:00
Sebastian Huber
bd7af5fcee usb_busdma: Add USB_NEED_BUSDMA_COHERENT_ALLOC
Some BSPs have a cache-coherent memory area, however, it should not be
used for the USB controller.
2020-04-15 16:18:43 +02:00
Jan Sommer
af291fa3a0 i386: Port to RTEMS
- Update imported files to compile rtems-libbsd for i386 based BSPs
- Currently does not support the option "dev_nic_e1000 = on"
2020-02-10 10:44:28 +01:00
Sebastian Huber
e6acc15bc9 NVMECONTROL(8): Port to RTEMS
Update #3821.
2019-11-13 13:04:09 +01:00
Sebastian Huber
53145c7232 NVME(4): Port to RTEMS
Update #3821.
2019-11-13 13:03:49 +01:00
Sebastian Huber
a5ddb0ea69 Update to FreeBSD head 2019-09-24
Git mirror commit 6b0307a0a5184339393f555d5d424190d8a8277a.
2019-11-13 10:47:04 +01:00
Sebastian Huber
5f2d63683a Add support for EARLY_COUNTER 2019-09-25 10:58:17 +02:00
Sebastian Huber
bf9681316a Remove obsolete header files 2019-09-24 14:20:08 +02:00
Sebastian Huber
747c6165b8 Compatibility for next Newlib update 2019-09-24 14:10:43 +02:00
Sebastian Huber
e9730d5fc5 Fix pgsigio() warnings 2019-09-24 14:07:12 +02:00
Sebastian Huber
5173168252 C++ compatiblity for kernel space header 2019-09-23 10:55:44 +02:00
Sebastian Huber
7b1aea98a1 Add wrapper for strndup() 2019-09-11 10:25:49 +02:00
Vijay Kumar Banerjee
951c4b92cf rtemsbsd: remove dead code fb.c 2019-08-31 20:32:38 +02:00
Sebastian Huber
8bf5f93ac1 atomic.h: Add atomic_load_long() 2019-08-27 10:31:42 +02:00
Vijay Kumar Banerjee
530f8f5abd am335x display drivers: Port to RTEMS 2019-08-11 15:57:54 +02:00
Vijay Kumar Banerjee
d7c01f4569 fbd: Port to RTEMS 2019-08-11 15:57:54 +02:00
Vijay Kumar Banerjee
2cf7b6b3e4 TDA19988: Port to RTEMS 2019-08-11 15:57:54 +02:00
Vijay Kumar Banerjee
59ce99a357 Pinmux: Port to RTEMS 2019-08-11 15:57:54 +02:00
Vijay Kumar Banerjee
b68ca55c96 Add mmap 2019-07-27 13:49:07 +02:00
Sebastian Huber
bc2ba9a9cd EPOCH(9): Add epoch_drain_callbacks() 2019-07-09 13:57:03 +02:00
Sebastian Huber
70b50ff98a EPOCH(9): Avoid inline functions
FreeBSD changed the epoch_enter() and epoch_exit() inline functions into
proper functions after a performance analysis to avoid code bloat.
2019-07-09 13:57:03 +02:00
Sebastian Huber
313e1d5f1c SLEEPQUEUE(9): Fix timeout handling 2019-07-05 10:20:18 +02:00
Vijay Kumar Banerjee
4ed60d9076 i2c tool : port to RTEMS 2019-06-29 10:31:01 +02:00
Vijay Kumar Banerjee
4e1325a338 iicbus: port to RTEMS 2019-06-29 10:31:01 +02:00
Sebastian Huber
3bd43f00a7 Add RTEMS-specific getcredhostuuid() 2019-06-05 14:26:38 +02:00
Sebastian Huber
c727e4a22e Separate libbsd and RTEMS clock ticks 2019-05-15 12:43:06 +02:00
Sebastian Huber
1a5db378e2 Remove unused maxusers 2019-05-13 11:19:50 +02:00
Sebastian Huber
b7a88f1414 Remove jail/prison functions from namespace 2019-05-13 11:19:50 +02:00
Sebastian Huber
e9b8413133 usb: Undefine USB_DEBUG
In contrast to some other USB options which use 0/1 values, the
USB_DEBUG uses defined/undefined to enable/disable the USB debug
support.
2019-05-13 10:13:37 +02:00
Sebastian Huber
3400fa0d69 Add wrapper for abort() 2019-05-13 09:45:51 +02:00
Sebastian Huber
7801010b68 Add USB mass storage only build set 2019-05-13 09:45:51 +02:00
Sebastian Huber
5da04d6837 Fix zero-copy mbuf support
In 2017 there was a change in the mbuf API.
2019-05-13 09:32:37 +02:00
Sebastian Huber
c6261f9787 Update due to API changes 2019-04-11 09:38:18 +02:00
Sebastian Huber
9fabaaec3e Revert "Add BURN_BRIDGES global kernel option"
This reverts commit 0904e3371406d2775cba848da441e00fd1ef1ef6.
2019-03-29 06:55:51 +01:00
Sebastian Huber
0904e33714 Add BURN_BRIDGES global kernel option 2019-03-28 11:35:47 +01:00
Christian Mauderer
d1dac7891c bin/openssl: Port to RTEMS. 2019-03-27 10:53:26 +01:00
Sebastian Huber
0dbc4e269b Fix atomic_load_32() 2019-02-18 10:03:57 +01:00
Sebastian Huber
adb7116425 Remove obsolete <rtems/pty.h> 2019-02-12 14:17:52 +01:00
Sebastian Huber
b3bbfdfe91 ZONE(9): Fix UMA_PCPU_ALLOC_SIZE
Using CACHE_LINE_SIZE for UMA_PCPU_ALLOC_SIZE was a huge memory waste
since the backend memory allocator is page based.
2019-02-12 08:57:42 +01:00
Sebastian Huber
1c3a92d81e atomic.h: Add atomic_fetchadd_64() 2019-02-11 15:20:11 +01:00