Allow passing the process Context to syscall handlers

This commit is contained in:
Zhang Junyang
2024-08-04 06:37:50 +00:00
committed by Tate, Hongliang Tian
parent 19ad2a2eb4
commit 66a37da214
137 changed files with 870 additions and 491 deletions

View File

@ -8,6 +8,7 @@ pub fn sys_pread64(
user_buf_ptr: Vaddr,
user_buf_len: usize,
offset: i64,
_ctx: &Context,
) -> Result<SyscallReturn> {
debug!(
"fd = {}, buf = 0x{:x}, user_buf_len = 0x{:x}, offset = 0x{:x}",