OpenCloudOS-Kernel/arch/csky/lib
Matteo Croce e4df2d5e85 csky: Add C based string functions
Try to access RAM with the largest bit width possible, but without
doing unaligned accesses.

A further improvement could be to use multiple read and writes as the
assembly version was trying to do.

Tested on a BeagleV Starlight with a SiFive U74 core, where the
improvement is noticeable.

Signed-off-by: Matteo Croce <mcroce@microsoft.com>
Co-developed-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
2022-04-18 21:23:55 +08:00
..
Makefile csky: Add C based string functions 2022-04-18 21:23:55 +08:00
delay.c csky: Library functions 2018-10-26 00:54:24 +08:00
error-inject.c csky: Add support for function error injection 2020-07-31 01:52:07 +00:00
string.c csky: Add C based string functions 2022-04-18 21:23:55 +08:00
usercopy.c csky: use generic strncpy/strnlen from_user 2021-07-23 14:40:01 +02:00