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

9
riscv_cpu/timer.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef timer_h__
#define timer_h__
#include "riscv.h"
const device_t* timer_dev();
#endif