Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Page table structures - PageTable Top level descriptor describing attributes of the N level page table and containing a pointer to the level CI (root

image text in transcribed
Page table structures - PageTable Top level descriptor describing attributes of the N level page table and containing a pointer to the level CI (root node] page treex'table structure. - PageTable captures your multi-level paging information (as put in the pagetableDSpdf) which is used for every page Level (or node} object: number of levels, the bit mask and shift information for extracting the part of VPN pertaining to each level, the number of entries in each Level array to the next level objects= or the array to the PFN mapping for the leaf level node, etc. - Since the tree operations start pm root node, it would be convenient to have the PageTable have a reference pointer to the root node (Level) of the page tree. - Level (or PageNode} An entry for an arbitrary level, this is the structure (or class} which represents one of the sublevels in the page tree-\"table. - Level is essentially the structure for the multi-level page tree node. The multi-level paging is about splitting and storing the VPN information into a tree data structure along the tree paths. Starting from the root node= each tree path [the root node to a leaf node} captures the mapping pm a WN to a PEN: and the mapped PFN would be stored at the leaf node level. - It contains an array of either pointers to the next level or page mappings. - For non-leaf or interior level nodes, an array of Level* {or PageNodet} pointers to the next leveL it is essentially a double LevelM - For leaf level nodes: an array of mappings: each mapping maps a VPN to a physical frame - Note you can have both an Level* array [for interior nodes} and a mapping array {for leaf nodes) included in the Level structure and use the one dependent on where the level is at: i.e.__ interior or leaf level. - Implementation requirements {violation would incur 511% penalty of autograding): - You MUST implement this Level PageNode structure as a tree. - You must NUT use a hash map for storing children levels r nodes; you could use either Level\" or std::vectorLevel*:s or similar array representation

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions

Question

describe various approaches to corporate responsibility

Answered: 1 week ago