mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-27 03:13:23 +00:00
Introduce a syscall restart mechanism
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
b70c4784ed
commit
ced0023d6b
@ -7,6 +7,9 @@ pub trait LinuxAbi {
|
||||
/// Get return value of syscall
|
||||
fn syscall_ret(&self) -> usize;
|
||||
|
||||
/// Set number of syscall
|
||||
fn set_syscall_num(&mut self, num: usize);
|
||||
|
||||
/// Set return value of syscall
|
||||
fn set_syscall_ret(&mut self, ret: usize);
|
||||
|
||||
|
Reference in New Issue
Block a user