CHAPTER 3 CP0 REGISTERS
User’s Manual U14272EJ3V0UM
74
3.2.7 BadVAddr register (8)
The Bad Virtual Address (BadVAddr) register is a read-only register that saves the most recent virtual address that
failed to have a valid translation, or that had an addressing error.
Caution
This register saves no information after a bus error exception, because it is not an address error
exception.
Figure 3-8. BadVAddr Register
(a) 32-bit mode
0
31
BadVAddr
(b) 64-bit mode
0
63
BadVAddr
BadVAddr: Most recent virtual address for which an addressing error occurred, or for which address
translation failed.
3.2.8 Count register (9)
The read/write Count register acts as a timer. It is incremented in synchronization with the MasterOut clock (1/8,
1/12, or 1/16 frequencies of the PClock), regardless of whether instructions are being executed, retired, or any
forward progress is actually made through the pipeline.
This register is a free-running type. When the register reaches all ones, it rolls over to zero and continues
counting. This register is used for self-diagnostic test, system initialization, or the establishment of inter-process
synchronization.
Figure 3-9. Count Register
0
31
Count
Count:
Up-to-date count value that is compared with the value of the Compare register.