CS473 - HW7

Virtual Memory

Due Monday, November 11, 2002

The following table gives some of the memory contents of a computer using Intel's virtual memory scheme:

The PDBR contains 00061000

AddressData
000610bc002cb023
00061138002be045
000613d000326007
000614680017c025
000615c00031b025
00077a6076741af0
00091c607cb4c217
0017c20000091023
001ea6702b3bd4e5
002be1e8002da045
002cbf5800077003
002d77c03cbbfd39
002da2fc4878eaed
0031b028001ea042
00326004002d7007

Assume this computer has a 32-entry, 4-way set-associative TLB. Here are the complete contents of the TLB:

SetTagValidEntry
01939203f25083a
01a04154477650
00e4015eb4f00e
045d1000663c18
 
1033c804801fc12
10fed0699e1e7b
07a001002d7007
0d349070f2fc54
 
20270f035fe2e26
13286001a8dc45
1514501edfda61
05a0011bcdfe67
 
31d1d0168fafa68
0c35e069906e06
100f6029b4fc04
0fd08053ac1a35
 
411c831294a6e4c
0518403a8ee035
14dd813df5881a
17bff03a770c5a
 
5058c410ab8222d
0342610a9b5204
0340d14458901b
12e750698e1604
 
619d7c02fa3ce34
017fa065f89652
0b5b50283e847b
12502134f1466e
 
7005b7158b9840d
18f5105584f233
09bac15d33b41f
0be5912eeace0a

For each of the following addresses, assume an attempt is made to read four bytes from the given address, in User mode. What happens? In the event of a protection failure or page fault, be sure to tell at what level the failure occurs. If data is successfully returned, tell what the value is. Tell whether there is a TLB hit or miss.

  1. 5c00a670
  2. 0bfd6a60
  3. 46880c60
  4. 1387a2fc
  5. 3d0017c0


Last modified: Mon Nov 4 18:24:10 MST 2002