4.2 Address Spaces

Virtual Address Space


The processor virtual address can be either 32 or 64 bits wide,*1 depending on whether the processor is operating in 32-bit or 64-bit mode.

Figure 4-1 shows the translation of a virtual address into a physical address.



Figure 4-1 Overview of a Virtual-to-Physical Address Translation

As shown in Figures 4-2 and 4-3, the virtual address is extended with an 8-bit address space identifier (ASID), which reduces the frequency of TLB flushing when switching contexts. This 8-bit ASID is in the CP0 EntryHi register, described later in this chapter. The Global bit (G) is in the EntryLo0 and EntryLo1 registers, described later in this chapter.



Copyright 1996, MIPS Technologies, Inc. -- 21 MAR 96

Generated with CERN WebMaker
statistics