Skip to content

Commit 068676e

Browse files
committed
移除未使用的SBI常量定义
1 parent 684514a commit 068676e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

os/src/sbi.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
use core::arch::asm;
44

55
const SBI_CONSOLE_PUTCHAR: usize = 1;
6-
#[allow(dead_code)]
7-
const SBI_SHUTDOWN: usize = 0x53525354;
8-
#[allow(dead_code)]
9-
const SBI_SET_TIMER: usize = 0x54494D45;
106

117
/// general sbi call
128
#[inline(always)]

0 commit comments

Comments
 (0)