]> 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)
commit559671e04a33b183b6e65fd585ab2e2a0578208b
tree1fe8b2bf52ca14bad194049ff85d662f3b3b2e81
parent7153c3cbb5b9b99755659b97861fd4fc909ed86f
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]