9
EXCEPTION AND INTERUPT PROCESSING
52
9
Exception and Interupt Processing
9.1
Exception Cause
The cause of the exception that was raised can be determined by the value of the cause register (causereg > > 2 to be specific) which has
the following meaning:
0
Interrupt
1
TLB modification
2
TLB load/inst fetch
3
TLB store
4
Address load/inst fetch
5
Address store
6
Bus error (instr)
7
Bus error (data)
8
Syscall
9
Breakpoint
10
Reserved instruction
11
Coprocessor unusable
12
Arithmetic overflow
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
9.2
Reset Vector?
bfc00000
(exceptionman, mebooter, mebooter_umdvideo, me_wrapper, power, sysreg)
bfc00000:
00 30 c2 40 ctc0 $v0, $6 ; save v0 in cc0.6 (GPR.v0)
bfc00004:
00 b0 02 40 mfc0 $v0, $22 (0x00000000) ; get c0.22 (CPU ID?) (if!=0 then ME)
bfc00008:
0d 00 02 14 bne $zero, $v0, 0xbfc00040 ; to ME handler
bfc0000c:
00 00 00 00 nop
bfc00010:
00 48 42 40 cfc0 $v0, $9 (0x8801cdc8) ; Error Handler Addr from cc9 (EXC_31_ERROR handler)
bfc00014:
08 00 40 00 jr $v0 ; to error handler
bfc00018:
00 00 00 00 nop
9.2.1
Reset Handler?
8801cdc8 (exceptionman:0x06c8)
8801CDC8:
00 38 C3 40 ctc0 $v1, $7 ; save v1 in cc0.7 (GPR.v1)
Summary of Contents for PlayStationPortable
Page 114: ...12 AUDIO PROCESSING 114 12 Audio Processing 12 1 Overview 44100 Hz Sample Frequency ...
Page 116: ...14 WLAN 116 14 WLAN ...
Page 117: ...15 USB PORT 117 15 USB Port ...
Page 118: ...16 UMD 118 16 UMD ...
Page 119: ...17 MEMORY STICK 119 17 Memory Stick ...
Page 128: ...21 FLASH MEMORY STRUCTURE FLASH1 128 21 Flash Memory Structure flash1 DIC REGISTRY VSH THEME ...
Page 141: ...28 IPL 141 28 IPL ...