18.104.22.168. The pteaddr Register
|PTBASE||PTBASE is the base virtual address of the page table.||Read/Write||0||Only with MMU|
|VPN||VPN is the virtual page number. VPN can be set by both hardware and software.||Read/Write||0||Only with MMU|
Software writes to the PTBASE field when switching processes. Hardware never writes to the PTBASE field.
Software writes to the VPN field when writing a TLB entry. Hardware writes to the VPN field on a fast TLB miss exception, a TLB permission violation exception, or on a TLB read operation. The VPN field is not written on any exceptions taken when an exception is already active, that is, when status.EH is already one.
Did you find the information on this page useful?