Question: ( 1 8 points ) Segmentation and Paging Suppose that a small computer system uses 8 - bit virtual and physical addresses, and each address
points Segmentation and Paging
Suppose that a small computer system uses bit virtual and physical addresses, and each address represents one byte. Let the size of the computer's physical memory be bytes. Answering the following
questions:
a points First, suppose the Base & Bounds approach is adopted in memory management. Assume that one process has been loaded into the memory. The value of the base register for heap segment is and the bound of the heap segment representing the size of the heap is Given the following offsets of the virtual address of which offsets would probably cause the segmentation fault? For those offsets which would not cause the segmentation fault, what are the corresponding physical addresses?
b Suppose we use a twolevel paging in memory management, and the page directory has entries, the page table PT has entries. The twolevel page table is shown in shown below. Black area represents an empty space in the page directory or page table
i points How many bits are used for the offset? What is the size of one page?
ii points Assume that one entry in a page directory and page table needs one byte. If we use the twolevel page table above, how many bytes of memory space would be saved compare with singlelevel page table using the same page size
iii points Given the following virtual addresses: which of them would be mapped? If the virtual address is mapped, what is its corresponding physical address?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
