0

I really dont know where to start in the following question and how scoured the internet for hints.

If anyone could point me in the right direction or let me know a way of tackling this question it would be great.

Explain clearly how a logical address is translated to a physical address in a computer system that uses a two level page table with the following details:

Each address has 32 bits. The lower order 16 bits are used as the offset. The higher order 16 bits are divided into two parts of 8 bits each for accessing the two-level page tables.

What is the total number of pages possible in the virtual memory of this computer? What is the size of a page?

I understand the following but cant really go any further:

The logical address is generated by the CPU and divided into:

A page number which is used as an index in a page table which contains the base address of each page in physical memory.

The page offset combined with the base address is then used to define the physical memory address that is sent to the memory unit.

4

1 回答 1

0

您需要阅读的只是来自Modern Operating System 2'nd or 3'rd editionby的 Memory 章节A.S.Tanenbaum。他解释了 2 级内存分配,我相信它会回答您的问题。

于 2013-01-31T09:18:59.200 回答