xref: /DragonOS/kernel/src/arch/riscv64/process/syscall.rs (revision 5b59005f930266d0e9c0092373e894826150f862)
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