LoongArch: Add process management
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)
commit803b0fc5c3f2baa6e54978cd576407896f789b08
tree835ad7b550e9ed19c55f84d331e24147a04c3d0c
parent0603839b18f4fb3bffa82515efcf5b02084505ef
LoongArch: Add process management

Add process management support for LoongArch, including: thread info
definition, context switch and process tracing.

Reviewed-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
14 files changed:
arch/loongarch/include/asm/fpu.h [new file with mode: 0644]
arch/loongarch/include/asm/idle.h [new file with mode: 0644]
arch/loongarch/include/asm/mmu.h [new file with mode: 0644]
arch/loongarch/include/asm/mmu_context.h [new file with mode: 0644]
arch/loongarch/include/asm/processor.h [new file with mode: 0644]
arch/loongarch/include/asm/ptrace.h [new file with mode: 0644]
arch/loongarch/include/asm/switch_to.h [new file with mode: 0644]
arch/loongarch/include/asm/thread_info.h [new file with mode: 0644]
arch/loongarch/include/uapi/asm/ptrace.h [new file with mode: 0644]
arch/loongarch/kernel/fpu.S [new file with mode: 0644]
arch/loongarch/kernel/idle.c [new file with mode: 0644]
arch/loongarch/kernel/process.c [new file with mode: 0644]
arch/loongarch/kernel/ptrace.c [new file with mode: 0644]
arch/loongarch/kernel/switch.S [new file with mode: 0644]