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