[libcpu] Refine MIPS common code
MIPS common code was highly duplicated, This commit
is a attempt to clean-up and refine these code.
The context and exception handle flow is mostly identical
with Linux, but a notable difference is that when FPU enabled,
we save FP registers in stackframe unconditionally.
Signed-off-by: NJiaxun Yang <jiaxun.yang@flygoat.com>
Showing
libcpu/mips/common/Kconfig
0 → 100644
libcpu/mips/common/context_gcc.S
0 → 100644
libcpu/mips/common/entry_gcc.S
0 → 100644
libcpu/mips/common/exception.c
0 → 100644
libcpu/mips/common/mips_asm.h
已删除
100644 → 0
libcpu/mips/common/mips_def.h
已删除
100644 → 0
此差异已折叠。
libcpu/mips/common/mips_fpu.h
0 → 100644
libcpu/mips/common/mipscfg.h
已删除
100644 → 0
此差异已折叠。
libcpu/mips/common/mipsregs.h
已删除
100644 → 0
此差异已折叠。
libcpu/mips/common/ptrace.h
0 → 100644
此差异已折叠。
libcpu/mips/common/stack.c
0 → 100644
此差异已折叠。
想要评论请 注册 或 登录