Download Hardware Components, Registers and peripheral Devices
Transcript
8
HARDWARE REGISTERS
8.2
71
System Config
Registerblock Base
0xbc100000
0xbc100000
4
31
....
23
....
24
....
Size of Registerblock
common access size
32 bit
r/w
16
....
15
....
8
....
bit(s)
description
25-16
Number of NMI that occured
7
....
0
....
0-9
NMI related, looks like enable mask (upper 16bits: kernel lower:user)
0xbc100004
4
31
....
23
....
bit(s)
24
....
r/w
16
....
15
....
8
....
7
....
0
....
description
NMI related, looks like IRQ latches (written to ACK)
bc100010,..28,..30 might have flags for individual NMI sources
0xbc100040
4
31
....
23
....
24
....
r/w
bit(s)
description
0-1
RAM size:
0xbc100044
4
31
....
23
....
bit(s)
0
24
....
r/w
16
....
15
....
8
....
7
....
0
....
0-16M; 1-32M; 2-64M; 3-128M
SC/ME RPC Interrupt
16
....
15
....
8
....
7
....
0
....
description
write 1 to post interrupt
The RPC works by posting an interrupt to the other processor using the following code:
asm("sync\n");
_sw(1, 0xBC100044);
asm("sync\n");
If you do that on the SC you interrupt (interrupt 31 ?) the ME, on the ME is does the reverse. On the SC side that is wrapped up in
sceSysregInterruptToOther.