stable 重构文件结构

抽象出Machine Code
This commit is contained in:
ZZY
2025-04-01 23:27:25 +08:00
parent 74f43a1ab7
commit b57f21556a
76 changed files with 657 additions and 260 deletions

10
src/linker/header.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef __HEADER
#define __HEADER
#include <src/assembler/riscv32/riscv32_asm.h>
#include <src/mcode/riscv32/riscv32_instr.h>
#include <lib/core.h>
rv32_prog_t* gen_rv32_crt();
rv32_prog_t* link_rv32_prog(rv32_prog_t* progs[]);
#endif