Module sbi

Module sbi 

Source

Functions§

console_getchar
使用 sbi 调用从控制台获取字符(qemu uart handler) 返回值:字符的 ASCII 码
console_putchar
use sbi call to putchar to console (qemu uart handler)
set_timer
use sbi call to set timer
shutdown
use sbi call to shutdown the system