09.12.2012 Views

User's Manual - chipdb.org

User's Manual - chipdb.org

User's Manual - chipdb.org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 1<br />

1.5 Memory Management System (MMU)<br />

The VR4300 processor has a 32-bit physical addressing range of 4 GB. However,<br />

since it is rare for systems to implement a physical memory space this large, the<br />

CPU provides a logical expansion of memory space to the programmer by<br />

translating addresses into the large virtual address space. The VR4300 processor<br />

supports the following two addressing modes:<br />

• 32-bit mode, in which the virtual address space is divided into 2 GB<br />

per user process and 2 GB for the kernel.<br />

• 64-bit mode, in which the virtual address is expanded to<br />

1 TB (240 bytes) of user virtual address space.<br />

A detailed description of these address spaces is given in Chapter 5 Memory<br />

Management System.<br />

1.5.1 Translation Lookaside Buffer (TLB)<br />

Virtual memory mapping is assisted by a translation lookaside buffer, which holds<br />

virtual-to-physical address translations. This fully-associative, on-chip TLB<br />

contains 32 entries, each of which maps a pair of variable-sized pages of either 4<br />

KB or 16 MB.<br />

Joint TLB (JTLB)<br />

The TLB can hold both instruction and data addresses, and is thus also referred to<br />

as a joint TLB (JTLB).<br />

An address translation value is tagged with the high-order bits of its virtual<br />

address (the number of these bits depends upon the size of the page) and a perprocess<br />

identifier. If there is no matching entry in the TLB, an exception occurs<br />

and software writes the entry contents to the on-chip TLB from a page table in<br />

memory. The JTLB entry to be rewritten is selected by a value in either the<br />

Random or Index register.<br />

48 User’s <strong>Manual</strong> U10504EJ7V0UM00

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!