feat(tlib): 新增MIPS32架构支持

为Renode添加龙芯1E300的MIPS32最小架构实现

**主要内容:**
- 创建完整的MIPS32 CPU状态结构
- 实现CP0系统控制寄存器
- 添加MMU和中断处理框架
- 集成TCG翻译和softmmu支持
- 提供C#接口层

**构建结果:**
- 成功编译translate-mips-le.so(791KB)
- 所有符号正确链接

**后续工作:**
指令执行逻辑将在后续提交中实现

Authored: liuwb <liuwb@microsat.com>
This commit is contained in:
liuwb
2026-02-09 01:19:18 +08:00
parent b3117648be
commit fb988bcd22
14 changed files with 1066 additions and 5 deletions

View File

@@ -433,7 +433,10 @@ fi
# This list contains all cores that will be built.
# If you are adding a new core or endianness add it here to have the correct tlib built
CORES=(arm.le arm.be arm64.le arm-m.le arm-m.be ppc.le ppc.be ppc64.le ppc64.be i386.le x86_64.le riscv.le riscv64.le sparc.le sparc.be xtensa.le)
# [MIPS架构支持] 添加 mips.le 和 mips.be 以支持龙芯1E300等MIPS处理器小端和大端
# [MIPS架构支持] 添加 mips64.le 和 mips64.be 以支持64位MIPS处理器
CORES=(arm.le arm.be arm64.le arm-m.le arm-m.be ppc.le ppc.be ppc64.le ppc64.be i386.le x86_64.le riscv.le riscv64.le sparc.le sparc.be xtensa.le mips.le mips.be mips64.le mips64.be)
# CORES=(arm.le arm.be arm64.le arm-m.le arm-m.be ppc.le ppc.be ppc64.le ppc64.be i386.le x86_64.le riscv.le riscv64.le sparc.le sparc.be xtensa.le)
# if '--external-lib-arch' was used - pick the first matching one
if [[ ! -z $EXTERNAL_LIB_ARCH ]]; then