Skip to content

Commit

Permalink
通过riscv64编译
Browse files Browse the repository at this point in the history
  • Loading branch information
MemoryShore committed Aug 30, 2024
1 parent 6c4958b commit fae0f7a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions kernel/src/arch/riscv64/process/syscall.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,8 @@ impl Syscall {
};
let (user_sp, argv_ptr) = unsafe {
param
.init_info()
.push_at(
// address_space
// .write()
// .user_stack_mut()
// .expect("No user stack found"),
&mut ustack_message,
)
.init_info_mut()
.push_at(&mut ustack_message)
.expect("Failed to push proc_init_info to user stack")
};
address_space.write().user_stack = Some(ustack_message);
Expand Down

0 comments on commit fae0f7a

Please sign in to comment.