fn from(op: u64) -> VSpaceOperation {
        match op {
            1 => VSpaceOperation::MapMem,
            2 => VSpaceOperation::UnmapMem,
            3 => VSpaceOperation::MapDevice,
            4 => VSpaceOperation::MapMemFrame,
            5 => VSpaceOperation::Identify,
            6 => VSpaceOperation::MapPMem,
            7 => VSpaceOperation::UnmapPMem,
            _ => VSpaceOperation::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 .
fn from(op: u64) -> VSpaceOperation {
        match op {
            1 => VSpaceOperation::MapMem,
            2 => VSpaceOperation::UnmapMem,
            3 => VSpaceOperation::MapDevice,
            4 => VSpaceOperation::MapMemFrame,
            5 => VSpaceOperation::Identify,
            6 => VSpaceOperation::MapPMem,
            7 => VSpaceOperation::UnmapPMem,
            _ => VSpaceOperation::Unknown,
        }
    }
fn from ( op : u64 ) -> VSpaceOperation { match op { 1 => VSpaceOperation :: MapMem , 2 => VSpaceOperation :: UnmapMem , 3 => VSpaceOperation :: MapDevice , 4 => VSpaceOperation :: MapMemFrame , 5 => VSpaceOperation :: Identify , 6 => VSpaceOperation :: MapPMem , 7 => VSpaceOperation :: UnmapPMem , _ => VSpaceOperation :: Unknown , } }
Construct a SystemCall enum based on a 64-bit value.
Construct a SystemCall enum based on a 64 - bit value .
op
u64
op
u64