OpenCloudOS-Kernel/arch/csky/abiv1
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
..
inc/abi mm: remove flush_kernel_dcache_page 2021-09-03 09:58:13 -07:00
Makefile csky: Add C based string functions 2022-04-18 21:23:55 +08:00
alignment.c csky: Fix function name in csky_alignment() and die() 2022-01-08 09:43:03 -06:00
bswapdi.c csky: Library functions 2018-10-26 00:54:24 +08:00
bswapsi.c csky: Library functions 2018-10-26 00:54:24 +08:00
cacheflush.c mm: remove flush_kernel_dcache_page 2021-09-03 09:58:13 -07:00
mmap.c csky: Fixup arch_get_unmapped_area() implementation 2019-08-20 16:09:37 +08:00