380 Commits

Author SHA1 Message Date
Sebastian Huber
5c88a52bcc Add program destructor support
Update #4649.
2022-05-12 07:51:41 +02:00
Chris Johns
332cc9f47b bsp/motorola_powerpc: Add dc, ukphy and legacy PCI support
- Add the dc net dev to the BSP

- Add the ukphy support

- Add PCI Legacy bus support to the PowerPC

Closes #4514
2021-09-18 17:52:31 +10:00
Chris Johns
afb361690c rtemsbsd/bus: Add PCI support to the nexus bus
- Add PCI IO region support

- Add support map buffers to PCI address space

- Add BSP conditional IO space support. Some PC implementations
  have PCI IO space mapped differently to memory space and this needs
  to be reflected in the busspace.

- Include bsp.h to pick per BSP configuration.

Closes #4514
2021-09-18 17:52:15 +10:00
Sebastian Huber
0099e16d9c ifmcstat: Port to RTEMS
Update #4073.
2020-09-10 13:28:31 +02:00
Jan Sommer
a69293ca57 i386: Port to RTEMS
- 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
2020-04-17 13:18:06 +02:00
Jan Sommer
dc86c55f51 i386: Delete old machine dependent files
- 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
2020-04-17 13:15:51 +02:00
Christian Mauderer
c5455b03ed ehci_imx: Add to build. 2020-04-15 16:14:18 +02:00
Christian Mauderer
113662dfaf Add support for i.mx cache.
Update #3869.
2020-04-14 16:39:21 +02:00
Christian Mauderer
24806eec09 regulator: Add to build.
Update #3869.
2020-04-14 16:39:20 +02:00
Christian Mauderer
3a1d48c70c imx6_ccm: Add and build module.
Update #3869.
2020-04-14 16:39:20 +02:00
Sebastian Huber
64c45b5a1a 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-14 16:39:20 +02:00
Sebastian Huber
46b3858b27 Update to FreeBSD stable/12 2020-02-10
Git mirror commit 0d1c391321b34b3025cf0e72f2231d836ff76da8.
2020-02-18 15:00:48 +01:00
Sebastian Huber
afaeccc05a NVMECONTROL(8): Port to RTEMS
Update #3821.
2019-11-13 13:22:36 +01:00
Sebastian Huber
da6b9a1891 NVME(4): Port to RTEMS
Update #3821.
2019-11-13 13:22:10 +01:00
Sebastian Huber
b5f802ef43 Add support for EARLY_COUNTER 2019-09-25 10:59:50 +02:00
Sebastian Huber
f105680799 Remove obsolete header files 2019-09-25 09:26:20 +02:00
Sebastian Huber
4a6660cee0 Fix pgsigio() warnings 2019-09-25 09:25:06 +02:00
Sebastian Huber
8618727d51 Add compatiblity for older Newlib variants 2019-09-25 09:24:09 +02:00
Sebastian Huber
37323bb819 Update to FreeBSD stable/12 2019-09-23
Git mirror commit 7e8d1444023128d34fb9aa4e4515928a4f794d1b.
2019-09-23 15:07:12 +02:00
Sebastian Huber
54e8636b8d C++ compatiblity for kernel space header 2019-09-23 10:13:28 +02:00
Sebastian Huber
d1c8a7fbf5 Add wrapper for strndup() 2019-09-11 10:25:04 +02:00
Sebastian Huber
02da5d3a82 atomic.h: Add atomic_load_long() 2019-08-27 09:50:05 +02:00
Sebastian Huber
3411e3d738 Update to FreeBSD stable/12 2019-08-26
Git mirror commit 621e7bafbf6857451f23ba11b0495c7ac69aff89.
2019-08-26 09:39:40 +02:00
Sebastian Huber
5283630d2c Update to FreeBSD stable/12 2019-07-09
Git mirror commit 3427c3416aa3c0f25124070959cca78024b94d85.
2019-07-09 14:45:47 +02:00
Sebastian Huber
312f705d4f EPOCH(9): Add epoch_drain_callbacks() 2019-07-09 13:56:23 +02:00
Sebastian Huber
ed1a63384b 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:37:34 +02:00
Sebastian Huber
660a8835eb SLEEPQUEUE(9): Fix timeout handling 2019-07-05 10:20:47 +02:00
Sebastian Huber
7ece7548c1 Update to FreeBSD stable/12 2019-06-26
Git mirror commit aa83598855d14cdbf7aef6b05d0617e90f87ca2f.
2019-06-26 13:44:21 +02:00
Sebastian Huber
705e362ea5 Update to FreeBSD stable/12 2019-06-05
Git mirror commit 78576620f2689e23144a1cf1bf55106cc6abe2b7.
2019-06-05 14:16:00 +02:00
Sebastian Huber
8f12ed3824 Add RTEMS-specific getcredhostuuid() 2019-06-05 14:15:57 +02:00
Sebastian Huber
edc4bf9f71 Separate libbsd and RTEMS clock ticks 2019-05-15 13:43:49 +02:00
Sebastian Huber
061e27912c Remove unused maxusers 2019-05-15 13:43:44 +02:00
Sebastian Huber
d1ad14fb6c Remove jail/prison functions from namespace 2019-05-15 13:43:43 +02:00
Sebastian Huber
6f0b15e8b0 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:15:57 +02:00
Sebastian Huber
70769b8523 Add wrapper for abort() 2019-05-13 10:15:55 +02:00
Sebastian Huber
99efa82037 Add USB mass storage only build set 2019-05-13 10:15:53 +02:00
Sebastian Huber
6e5c632248 Fix zero-copy mbuf support
In 2017 there was a change in the mbuf API.
2019-05-13 09:34:00 +02:00
Sebastian Huber
647dd08ae2 Update due to API changes 2019-04-11 09:38:45 +02:00
Sebastian Huber
94691f58cf Revert "Add BURN_BRIDGES global kernel option"
This reverts commit b5cc3f67ed15f23a868c7f846dca48ff9f3f803a.
2019-03-29 07:04:26 +01:00
Sebastian Huber
b5cc3f67ed Add BURN_BRIDGES global kernel option 2019-03-28 11:37:28 +01:00
Sebastian Huber
481397ff24 Update to FreeBSD stable/12 2019-03-27
Git mirror commit 43a38f188ca2e936ec78104c30ea3e24d9c1606b.
2019-03-28 08:15:38 +01:00
Christian Mauderer
9ed6c97139 bin/openssl: Port to RTEMS. 2019-03-28 07:17:24 +01:00
Sebastian Huber
eb1d30ad35 Update to FreeBSD stable/12 2019-03-11
Git mirror commit 735fe7a0a5f9c265040e2e6654a01b081d6354f1.
2019-03-11 09:41:49 +01:00
Sebastian Huber
2a60dfb89f Fix atomic_load_32() 2019-02-18 10:09:56 +01:00
Sebastian Huber
a124a75ec6 Remove obsolete <rtems/pty.h> 2019-02-12 14:21:38 +01:00
Sebastian Huber
1ce4034521 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 09:17:36 +01:00
Sebastian Huber
556ec29b4e Update to FreeBSD stable/12 2019-02-11
Git mirror commit 606b591dae1023a71ff020faf99789059eb6591f.
2019-02-12 09:17:32 +01:00
Sebastian Huber
0b177c7c27 atomic.h: Add atomic_fetchadd_64() 2019-02-11 15:20:32 +01:00
Sebastian Huber
d7504f8372 atomic.h: Add atomic_load_32() 2019-02-11 09:36:50 +01:00
Sebastian Huber
4a8bc9e5fa Update to FreeBSD stable/12 2019-02-04
Git mirror commit 50f507fe430c8041715f649f179f4b0a431dd7ff.
2019-02-04 15:12:50 +01:00