Skip to content

Commit c945a80

Browse files
log trace -> info. change first userapp to initproc
1 parent d4c0f21 commit c945a80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

os/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ fn main(hartid: usize) {
9191
}
9292
println!("[kernel] Hello, world!");
9393
mm::init_heap();
94-
logging::init(Some("trace"));
94+
logging::init(Some("info"));
9595
println!("init logging");
9696
// polyhal::init_interrupt(); done in polyhal::CPU::rust_main()
9797

os/src/task/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ pub fn exit_current_and_run_next(exit_code: i32) {
9696

9797
lazy_static! {
9898
pub static ref INITPROC: Arc<TaskControlBlock> = Arc::new({
99-
let inode = open_file("user_shell", OpenFlags::RDONLY).unwrap();
99+
let inode = open_file("initproc", OpenFlags::RDONLY).unwrap();
100100
let v = inode.read_all();
101101
TaskControlBlock::new(v.as_slice())
102102
});

0 commit comments

Comments
 (0)