Sebastian Huber
5eed6acb5f
rtems-bsd-cxx: Undefine _GNU_SOURCE
...
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 .
2020-09-14 17:13:12 +02:00
Sebastian Huber
272d5f522d
ifmcstat: Port to RTEMS
2020-09-07 10:12:44 +02:00
Sebastian Huber
03d7f76a81
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.
Update #4025 .
2020-08-18 07:32:20 +02:00
Sebastian Huber
bd7e6eeb31
Conditionally include <bsp/linker-symbols.h>
...
Remove superfluous <bsp.h> include.
2020-08-05 15:04:48 +02:00
Christian Mauderer
7e453ad5c9
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 13:09:11 +02:00
Christian Mauderer
5e3780023c
busdma: Don't sync nocache memory on ARM
...
The busdma shouldn't try to flush or invalidate cache in a nocache area.
2020-07-29 13:09:11 +02:00
Christian Mauderer
cdd6003eb8
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 13:09:11 +02:00
Christian Mauderer
1398d9329f
imx: Use RTEMS GPIO driver instead of FreeBSD one
...
Update 3869
2020-07-29 13:09:11 +02:00
Christian Mauderer
4c762de2fd
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 13:09:11 +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