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
debc0aed8b
NVD(4): Fix logical block count calculation
...
Close #4165 .
2020-10-27 06:25:17 +01:00
Sebastian Huber
491666ad28
NVD(4): Fix NULL pointer access in nvd_sync()
...
Update #4165 .
2020-10-27 06:24:58 +01:00
Sebastian Huber
0099e16d9c
ifmcstat: Port to RTEMS
...
Update #4073 .
2020-09-10 13:28:31 +02:00
Sebastian Huber
80640fc843
nfsclient: Next attempt to fix 64-bit targets
...
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 #4024 .
2020-08-18 07:18:41 +02:00
Sebastian Huber
26866d2c1f
Fix linker errors with minimal build set
2020-07-08 10:21:20 +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
039afd9816
nfsclient: Use a system event for RPC
...
Aviod conflicts with application events.
2020-03-18 08:26:09 +01: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
e7291f7ac3
NVD(4): Add RTEMS-specific NVMe disk driver
...
Update #3821 .
2019-11-13 13:22:23 +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
bd6b20c0e6
nexus: Avoid NULL pointer access
2019-09-23 10:13:29 +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
Nils Hölscher
fd86c091b9
rtems/rtems-kernel-nexus.c: LibBSD init now uses all pass levels.
...
I observed all Modules loading in the last fdt pass.
The reason was, nexus bus loading with BUS_PASS_DEFAULT.
2019-08-12 08:13:11 +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
eeb3fd5d9b
if_atsam: Remove WDT_Disable()
...
The watchdog timer (WDT) can be configure only once. Do not touch it in
the BSP since the application may want to use it.
2019-06-13 08:57:41 +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
b5f8d4831d
Use _SMP_Unicast_action()
...
It is a bit more efficient.
2019-05-21 07:40:53 +02:00
Sebastian Huber
a87e0f4f5c
Update due to API changes
...
Close #3749 .
2019-05-15 15:45:03 +02:00
Sebastian Huber
edc4bf9f71
Separate libbsd and RTEMS clock ticks
2019-05-15 13:43:49 +02:00
Sebastian Huber
510d1c96f6
Include missing <stdlib.h> to fix warnings
2019-05-15 13:43:46 +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
0a8c0ce47f
Remove dangerous weak definition of getentropy()
...
All BSP supporting libbsd should provide this function.
2019-05-15 13:43:41 +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
49c75e331e
Use static inline functions for jail and prison
...
This helps the compiler to optimize away dead code.
2019-05-13 09:34:01 +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