Download VR4181 specs - Delorie Software
Transcript
CHAPTER 7 EXCEPTION PROCESSING Figure 7-11. WatchHi Register Format 31 0 0 32 0: Reserved for future use. Write 0 in a write operation. When this field is read, 0 is read. 7.3.9 XContext register (20) The read/write XContext register contains a pointer to an entry in the page table entry (PTE) array, an operating system data structure that stores virtual-to-physical address translations. If a TLB miss occurs, the operating system loads the untranslated data from the PTE into the TLB to handle the software error. The XContext register is used by the XTLB Refill exception handler to load TLB entries in 64-bit addressing mode. The XContext register duplicates some of the information provided in the BadVAddr register, and puts it in a form useful for the XTLB exception handler. This register is included solely for operating system use. The operating system sets the PTEBase field in the register, as needed. Figure 7-12 shows the format of the XContext register. Figure 7-12. XContext Register Format 63 PTEBase: BadVPN2: 35 34 33 32 4 3 0 PTEBase R BadVPN2 0 29 2 29 4 The PTEBase field is a base address of the PTE entry table. This field holds the value (VPN2) obtained by halving the virtual page number of the most recent virtual address for which translation failed. R: Space type (00 → User, 01→ Supervisor, 11 → Kernel). The setting of this field matches virtual address bits 63 and 62. 0: Reserved for future use. Write 0 in a write operation. When this field is read, 0 is read. The 29-bit BadVPN2 field has bits 39 to 11 of the virtual address that caused the TLB miss; bit 10 is excluded because a single TLB entry maps to an even-odd page pair. For a 1-Kbyte page size, this format may be used directly to address the pair-table of 8-byte PTEs. For 4-Kbyte-or-more page and PTE sizes, shifting or masking this value produces the appropriate address. User’s Manual U14272EJ1V0UM00 173
Related documents
manual de usuario del simulador de instrucciones mips r-4000
VR4181™
cache
ST-Realizer-II user manual (for ST62 & ST7 8-bit MCUs)
Using PDtrace™ with SDE and System Navigator™ for MIPS® Cores
Errata Sheet
Errata Sheet
Errata for MIPS R4000/R4400 Microprocessor User`s Manual
YAMON™ User`s Manual
CPU Instruction Set Details
IDT MIPS Microprocessor Family Software Reference Manual
VR Series 64-/32-Bit Microprocessor Programming Guide AN