| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
- memset may be optimized for performance and might work
with device type memory. Clear a byte at a time.
|
|
|
|
|
|
|
|
|
|
| |
When the cmpset and fcmpset functions were refactored, the return value
of the operation was discarded instead of being returned for SMP builds
outside of gcc 4.x. This had the effect of turning these functions into
a long busywait loop that eventually failed due to integer overflow.
This patch restores the use of the return value of the atomic
operations.
|
|
|
|
|
|
| |
- This call is provided by RTEMS and that is preferred
Closes #4518
|
|
|
|
|
| |
- If the open is for a directory and it is the root of the mounted
file system open from the pseudo's root node.
|
|
|
|
|
|
|
| |
The imx_ccm_*_hz are all defined in RTEMS. So don't duplicate them in
libbsd. Otherwise some applications get linker errors.
Update #3869
|
|
|
|
|
|
|
|
|
| |
- NFSv2 requires userland RPC calls to determine the version of
NFS and the FH. This is passed to the kernel.
- Port more libc/rpc.
Update #4475
|
|
|
|
| |
Update #4475
|
|
|
|
| |
Updates #4475
|
|
|
|
|
|
|
|
|
|
| |
- Refactor the libio interface
- Move syscalls into an rtemsbsd location
- Provide a root directory mount point
Update #4475
|
|
|
|
|
|
| |
- Object files cannot config init and resided in libbsd.a
Update #4475
|
|
|
|
| |
Update #4475
|
|
|
|
|
|
| |
- Provides the thread's proc pointer and with that access to creds
Update #4475
|
|
|
|
|
|
|
|
|
|
| |
- See `man lockmgr`
- Implement the lock_object and move the RTEMS mutex to that object
- Add debug support to track the locks with gdb
Update #4475
|
|
|
|
| |
Update #4475
|
|
|
|
| |
Update #4475
|
|
|
|
|
|
|
|
|
|
| |
- The script's use of sort proved to not be portable
- No need to check the commits as symbols are only added
- Regenerated kernel header to reset the sort order
Update #4475
|
|
|
|
|
|
|
|
| |
- Add the dc net dev to the BSP
- Add the ukphy support
Closes # 4246
|
|
|
|
| |
- Add the ability to check if an interface is up
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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 #4245
|
|
|
|
| |
Made ZynqMP build with the SDHCI driver.
|
|
|
|
|
| |
Now that the issue with false PHY detection on unterminated MII busses
has been resolved, present all hardware interfaces for use on ZynqMP.
|
|
|
|
|
|
|
| |
This alters the selection of the 4 Cadence GEM interfaces on the Zynq
Ultrascale+ MPSoC BSP to be provided by config.inc instead of being
provided by options in the RTEMS BSP itself since those options appear
to be dead code when not used in conjunction with LibBSD.
|
|
|
|
|
|
|
|
|
|
| |
Updated ttcp.c to build clean for RTEMS 6 and the machines it
originally built for. Also fixed ttcp.c to close network
sockets after completion. Defined a shell command for TTCP in
rtems-bsd-shell-ttcp.c. Added TTCP to the list of RTEMS network
commands in netcmds-config.h. Added declaration of the TTCP shell
command to rtems-bsd-commands.h. Modified libbsd.py to make waf
build TTCP and its shell command.
|
|
|
|
|
| |
Updated the TTCP code to match the ttcp.c in RTEMS network-demos
repository (https://git.rtems.org/network-demos/).
|
|
|
|
|
|
|
| |
Added the original Test TCP (TTCP) program in unmodified form.
Also added the original README for TTCP. Both the README and the
TTCP program were sourced from the first commit in the RTEMS
network demos repository.
|
|
|
|
|
| |
Use the new options from the ZynqMP BSPs to allow selection of the
available CGEM ethernet interfaces.
|
|
|
|
|
|
|
| |
Since the epoch call callbacks may lock/unlock a mutex the callbacks must be
called from within thread context with thread dispatching enabled. Use thread
pinning to ensure that the calling thread stays on the right processor. Use
the interrupt server to ensure the thread context for the epoch drain.
|
|
|
|
|
| |
Use the PER_CPU_DATA_NEED_INITIALIZATION() macro if necessary to request an
initialization of the per-CPU data.
|
|
|
|
|
|
|
|
| |
Changed nfs_utime() to nfs_utimens(), changed the arguments to use
a timespec array instead of individual variables for access and
modified time.
Updates #4400
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Possible data sources for SD driver:
- mmc_sd_switch():
- length: 64 byte;
- buffer on stack
- mmc_test_bus_width():
- length: 4 or 8 byte
- buffer in program memory or on stack
- mmc_app_send_scr():
- length: 8 byte
- buffer from device ivar structure
- mmc_app_sd_status():
- length: 64 byte
- buffer from device ivar structure
- mmc_send_ext_csd():
- length: MMC_EXTCSD_SIZE = 512
- buffer from device ivar structure
- rtems_bsd_mmcsd_disk_read_write():
- length: depends on read
- buffer from rtems_blkdev buffer -> already aligned
- mmcsd_ioctl_cmd():
- length: depends on call
- buffer malloced, not aligned -> patched in RTEMS
So the problematic buffers are only the ones up to 512 bytes. Copy these data
into a buffer to avoid that problem.
|
| |
|
|
|
|
| |
Update #4372
|
|
|
|
|
|
| |
ZynqMP hardware comes with many different Ethernet PHYs depending on
which board is used. Add the UKPHY driver to handle basic PHY
interaction for any unrecognized PHYs.
|
|
|
|
|
|
|
| |
Add a System Level Control Register driver for the Xilinx Zynq
Ultrascale+ MPSoC with basic clock control functionality for use with
the Cadence GEM. This also removes the Zynq-7000 clock control weakref
from compilation depending on the BSP in use.
|
|
|
|
|
|
| |
Similar to the UARTs, ZynqMP hardware platforms use the highest
memory-mapped CGEM peripheral as the primary instance of that
peripheral. This change allows operation on hardware as well as QEMU.
|
|
|
|
|
|
| |
Alignment on 64bit hardware is strict in comparison to running in an
emulator. This resolves an alignment exception when allocating memory on
real hardware.
|
| |
|
| |
|
|
|
|
| |
Update #4180
|
| |
|
|
|
|
| |
Update #3910.
|
|
|
|
| |
Update #3910.
|
|
|
|
| |
Update #3910.
|
|
|
|
| |
Update #4164.
|
|
|
|
| |
Update #4164.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|