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
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,
}
}
}