- 修改Makefile,使用make sbi生成支持opensbi的镜像,使用make sbi_qemu运行
- 修改uart.c,支持opensbi
- 修改entry.S,避免S态读M态csr的错误。如果之后要支持多核可能需要改回来
- 修改riscv.h,sbi下能正确映射内核
- 暂时把cpu.c中的r_tp()改成0
[fix] 把timer.c中的include改成本项目的include文件,而不是/user/include
[todo]
- 把sbi_call改为inline函数,提高效率
- 查清楚sbi下cpu.c中r_tp()的问题
- sbi支持时钟中断,磁盘中断