Make stub for sysinfo syscall

This commit is contained in:
Roman Korostinskiy
2024-12-10 15:59:49 +03:00
committed by Tate, Hongliang Tian
parent 53b873f647
commit b4ebd6e87f
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,11 @@
// SPDX-License-Identifier: MPL-2.0
use super::SyscallReturn;
pub fn sys_sysinfo(
sysinfo_addr: Vaddr,
ctx: &Context,
) -> Result<SyscallReturn> {
unimplemented!("sysinfo implementation in process");
Ok(SyscallReturn::Return(-1))
}