empty variant

master
elfein 2021-11-11 00:51:30 -08:00
parent e83cdc6ed9
commit ae7719371f
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ pub enum SysCall {
// Security Syscalls
ENCRYPT = 50,
EMPTY = usize::MAX,
}
impl From<usize> for SysCall {
@ -61,6 +62,7 @@ impl From<usize> for SysCall {
30 => Self::FILE_READ,
31 => Self::FILE_WRITE,
50 => Self::ENCRYPT,
_ => Self::EMPTY,
}
}
}