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