//! Memory-related system functions and types

use crate::io::RawFd;

pub use crate::generated::MappingFlags;

/// Defines the MapMemory function
#[derive(Clone, Copy, Debug)]
pub enum MappingSource {
    /// Mapping is backed by regular memory pages
    Anonymous,
    /// Mapping is backed by a file
    File(RawFd, u64),
}
