Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Chapter 10 Advanced Memory Management Segment Table 0 Page Table A 0 0002 1 Page

ID: 3703373 • Letter: C

Question

Chapter 10 Advanced Memory Management Segment Table 0 Page Table A 0 0002 1 Page Table B 1 0006 x (rest invalid) 20000 Page Table A Page Table B 0 1 0004 2 0003 x (rest invalid) 0001 3 0005 x (rest invalid) Segment Table Page Table K 0 Page Table K 0 BEE x (rest invalid) 1 F00 2 CAFE 3 4 (invalid) 5 BA11 6 DEAD 7 x (rest invalid) a) Find the host physical address corresponding to each of the fol- lowing guest virtual addresses. Answer "invalid guest virtual ad- dress" if the guest virtual address is invalid; answer "invalid guest physical address if the guest virtual address maps to a valid guest physical page frame, but the guest physical page has an invalid virtual address. ii. 20021111 ii. 10012222 iv. 00023333 v. 10024444 b) Using the information in the tables above, fill in the contents of the shadow segment and page tables for direct execution of the guest process c) Assuming that the guest physical memory is contiguous, ist thre reasons why the host page table might have an invalid entry guest physical page frame, with valid entries on either side. for a

Explanation / Answer

Part a) We have to just consider the first two numbers,
i. 00 Page Table A, Page 0 Value 0002
ii. 20 Invalid, No page table exists
iii. 10 Page Table B, Page 0 Value 0001
iv. 00 Page Table A, Page 0 Value 0002
v. 10 Page Table B, Page 0 Value 0001

Part b) We just have to map page table and page numbers to make a single table here:
00 0002
01 0006
02 0000
03 0005
10 0001
11 0004
12 0003

Part c) Physical and Virtual address is completely different, they are just mapped by the memory management unit. Also, the pages are assigned to a process, that is a block of memory, it could be possible that memory remaining does not make a size of a page.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote