try catch 不处理动态内存,拆分riscv_rest

This commit is contained in:
2025-06-24 17:59:23 +08:00
parent d9baa7f7a3
commit b64401d556
14 changed files with 115 additions and 83 deletions

10
riscv_cpu/print.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef print_h__
#define print_h__
#include "riscv.h"
const device_t* print_dev();
#endif