pub fn new(domain: u64) -> SystemCall {
        match domain {
            1 => SystemCall::System,
            2 => SystemCall::Process,
            3 => SystemCall::VSpace,
            4 => SystemCall::FileIO,
            _ => SystemCall::Unknown,
        }
    }
/// Construct a SystemCall enum based on a 64-bit value.
Construct a SystemCall enum based on a 64-bit value.
Construct a SystemCall enum based on a 64 - bit value .
pub fn new(domain: u64) -> SystemCall {
        match domain {
            1 => SystemCall::System,
            2 => SystemCall::Process,
            3 => SystemCall::VSpace,
            4 => SystemCall::FileIO,
            _ => SystemCall::Unknown,
        }
    }
pub fn new ( domain : u64 ) -> SystemCall { match domain { 1 => SystemCall :: System , 2 => SystemCall :: Process , 3 => SystemCall :: VSpace , 4 => SystemCall :: FileIO , _ => SystemCall :: Unknown , } }
Construct a SystemCall enum based on a 64-bit value.
Construct a SystemCall enum based on a 64 - bit value .
domain
u64
domain
u64