xref: /DragonOS/kernel/src/arch/riscv64/process/syscall.rs (revision 81294aa2e6b257f0de5e3c28c3f3c89798330836)
1 use alloc::{string::String, vec::Vec};
2 use system_error::SystemError;
3 
4 use crate::{arch::interrupt::TrapFrame, syscall::Syscall};
5 
6 impl Syscall {
7     pub fn do_execve(
8         path: String,
9         argv: Vec<String>,
10         envp: Vec<String>,
11         regs: &mut TrapFrame,
12     ) -> Result<(), SystemError> {
13         unimplemented!("Syscall::do_execve")
14     }
15 
16     /// ## 用于控制和查询与体系结构相关的进程特定选项
17     pub fn arch_prctl(option: usize, arg2: usize) -> Result<usize, SystemError> {
18         unimplemented!("Syscall::arch_prctl")
19     }
20 }
21