]> git.baikalelectronics.ru Git - kernel.git/commit
LoongArch: Add some library functions
authorHuacai Chen <chenhuacai@loongson.cn>
Tue, 31 May 2022 10:04:11 +0000 (18:04 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 3 Jun 2022 12:09:28 +0000 (20:09 +0800)
commitebafc39bbba43551dbe542b8f5622c84c99cfcf6
tree1fe8b2bf52ca14bad194049ff85d662f3b3b2e81
parenta1402e248a74734bdcaf9ee5b145f61441f302c3
LoongArch: Add some library functions

Add some library functions for LoongArch, including: delay, memset,
memcpy, memmove, copy_user, strncpy_user, strnlen_user and tlb dump
functions.

Reviewed-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/delay.h [new file with mode: 0644]
arch/loongarch/include/asm/string.h [new file with mode: 0644]
arch/loongarch/lib/clear_user.S [new file with mode: 0644]
arch/loongarch/lib/copy_user.S [new file with mode: 0644]
arch/loongarch/lib/delay.c [new file with mode: 0644]
arch/loongarch/lib/dump_tlb.c [new file with mode: 0644]