Changes between Version 6 and Version 7 of VirtualMemory
- Timestamp:
- Jun 28, 2009, 12:56:46 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VirtualMemory
v6 v7 3 3 = TSAR virtual memory = 4 4 5 The TSAR MMU (Memory Management Unit) is an hardware component implemented in the L1 cache controller. This cache controller is a generic component that can be used with any 32 bits, single instruction issue, processor. As any MMU, the generic TSAR MMU is in charge of the virtual to physical address translation, and perfom various6 access right verification . It implements a paginated virtual memory, supporting two page sizes : 4 Kbytes pages, and 2 Mbytes pages.5 The TSAR MMU (Memory Management Unit) is an hardware component implemented in the L1 cache controller. This cache controller is a generic component that can be used with any single instruction issue, 32 bits processor. As any MMU, the generic TSAR MMU is in charge of the virtual to physical address translation, and perfoms 6 access right verifications. It implements a paginated virtual memory, supporting two page sizes : 4 Kbytes pages, and 2 Mbytes pages. 7 7 8 8 As the processor core can issue two simultaneous instruction and data requests, there is actually two separated data and instructions caches, … … 13 13 == 1. Page Table Organisation == 14 14 15 The TSAR virtual memory uses a pag ed approach. The TSAR architecture defines two page sizes :15 The TSAR virtual memory uses a paginated approach. The TSAR architecture defines two page sizes : 16 16 - 4 Kbytes pages 17 17 - 2 Mbytes pages … … 30 30 - All page tables (first & second level) must be aligned : the page table base adress must be a multiple of 8K bytes for a first level page table, and multiple of 4K bytes for a second level page table. 31 31 - The page tables can be placed anywhere in the physical address space. 32 - The PTPR register (located in the generic MMU, and initialised by the OS at each context switch) contains actually the 2 6 MSB bits of the first level page table base address. It must be extended (left-shifted) to 36bits by the hardware.32 - The PTPR register (located in the generic MMU, and initialised by the OS at each context switch) contains actually the 27 MSB bits of the first level page table base address. In case of TLB MISS, it is extended (left-shifted) to 40 bits by the hardware. 33 33 34 34 === 1.2 First Level Page Table Entry Format ===