Question: 2. [Total: 25%] In this task, we deal with virtual memory and related topics. Assume you work on an embedded system that provides a hardware

 2. [Total: 25%] In this task, we deal with virtual memory

2. [Total: 25%] In this task, we deal with virtual memory and related topics. Assume you work on an embedded system that provides a hardware MMU. The memory page size is 4 KB, and there are in total at most 8 pages. The system only uses one level of paging, i.e., there is a single page table. The given device has 16 KB of physical memory, and 1 MB of permanent Flash storage. (a) Briefly explain the concept of virtual memory, and the role it plays in providing [5%) process isolation (max. 3 sentences (b) How many bits does a virtual memory address have in the given scenario? Which bits are used to index the page table, and which bits for the byte offset within a [5%) (c) How many bits does a physical memory address have? Explain your answer. [396] (d) The contents of the page table of a process (all addresses in hex) are as follows page number page base address 0x1000 0x3000 not mapped not mapped not mapped 0x0000 not mapped 0x2000 1 2 4 7 Resolve the virtual address 0x78CD to a physical memory address. Briefly explain (7%) (e) Is the available memory sufficient to store the complete addressable virtual memory? [5%] the process If not, how could the limitation in physical memory be overcome? 2. [Total: 25%] In this task, we deal with virtual memory and related topics. Assume you work on an embedded system that provides a hardware MMU. The memory page size is 4 KB, and there are in total at most 8 pages. The system only uses one level of paging, i.e., there is a single page table. The given device has 16 KB of physical memory, and 1 MB of permanent Flash storage. (a) Briefly explain the concept of virtual memory, and the role it plays in providing [5%) process isolation (max. 3 sentences (b) How many bits does a virtual memory address have in the given scenario? Which bits are used to index the page table, and which bits for the byte offset within a [5%) (c) How many bits does a physical memory address have? Explain your answer. [396] (d) The contents of the page table of a process (all addresses in hex) are as follows page number page base address 0x1000 0x3000 not mapped not mapped not mapped 0x0000 not mapped 0x2000 1 2 4 7 Resolve the virtual address 0x78CD to a physical memory address. Briefly explain (7%) (e) Is the available memory sufficient to store the complete addressable virtual memory? [5%] the process If not, how could the limitation in physical memory be overcome

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!