empty variant

This commit is contained in:
elfein 2021-11-11 00:51:30 -08:00
parent e83cdc6ed9
commit ae7719371f

View file

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