Digi NS9215 Computer Hardware User Manual


 
WORKING WITH THE CPU
R4 register
92 Hardware Reference NS9215
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
R4 register
Accessing (reading or writing) this register causes UNPREDICTABLE behavior.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
R5: Fault Status registers
Register R5 accesses the Fault Status registers (FSRs). The Fault Status registers
contain the source of the last instruction or data fault. The instruction-side FSR is
intended for debug purposes only.
The FSR is updated for alignment faults and for external aborts that occur while the
MMU is disabled. The FSR accessed is determined by the opcode_2 value:
See "MemoryManagement Unit (MMU)," beginning on page 105, for the fault type
encoding.
Access
instructions
Access the FSRs using these instructions:
MRC p15, 0, Rd, c5, c0, 0; read DFSR
MCR p15, 0, Rd, c5, c0, 0; write DFSR
MRC p15, 0, Rd, c5, c0, 1; read IFSR
MCR p15, 0, Rd, c5, c0, 1; write IFSR
Register format
Register bits
opcode_2=0 Data Fault Status register (DFSR)
opcode_2=1 Instruction Fault Status register (IFSR)
31 0987 43
0
UNP/SBZ Domain Status
Bits Description
[31:9]
UNPREDICTABLE/SHOULD BE ZERO
[8] Always reads as zero. Writes are ignored.
[7:4] Specifies which of the 16 domains (D15–D0) was being accessed when a data fault
occurred.
[3:0] Type of fault generated. (See "MemoryManagement Unit (MMU)," beginning on page
105.)