We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad65326 commit 0427029Copy full SHA for 0427029
kernel/src/libs/shell.rs
@@ -1,7 +1,7 @@
1
use alloc::{string::String, sync::Arc};
2
3
use crate::{
4
- drivers::{device, Device},
+ drivers::device,
5
print, println,
6
};
7
@@ -84,11 +84,11 @@ impl Shell {
84
}
85
86
Ok(_) => {
87
- // 没有数据,暂停 CPU 等待中断
+ // No data, pause CPU until interrupt
88
x86_64::instructions::hlt();
89
90
Err(_) => {
91
- // 读取错误,暂停 CPU
+ // Read error, pause CPU
92
93
94
0 commit comments