}

impl Frame {
    pub fn from_address(&self, address: usize, num_pages: usize) -> Frame {
        Frame{
            number: address / PAGE_SIZE,
            num_pages: num_pages,
        }
    }

    pub fn start_address(&self) -> PhysicalAddress {
        self.number * PAGE_SIZE
    }