Difference between revisions of "S5L8720 (Hardware)"

From The iPhone Wiki
Jump to: navigation, search
(New page: This should help people reversing iBoot and friends. It is a work in progress. ==VIC (Vectored Interrupt Controller)== <table border=1 width=100%> <tr> <td colspan=2><center><b>Base (vic0...)
 
Line 57: Line 57:
 
<td width=50%><center>0x200</center></td>
 
<td width=50%><center>0x200</center></td>
 
<td width=50%><center>Vector Priority Levels</center></td>
 
<td width=50%><center>Vector Priority Levels</center></td>
  +
</tr>
  +
<tr>
  +
<td width=50%><center>0xFE0 through 0xFEC</center></td>
  +
<td width=50%><center>Not sure what these four registers are, because I can confirm that at least SecureROM, probably iBoot and such too, will simply read them when initializing the vectored interrupt controller. It does nothing about the contents...I'll post a snippet from IDA in the discussion page, but if anyone knows what these do, put it here.</center></td>
 
</tr>
 
</tr>
 
</table>
 
</table>

Revision as of 03:34, 11 February 2009

This should help people reversing iBoot and friends. It is a work in progress.

VIC (Vectored Interrupt Controller)

Base (vic0): 0x38E00000
Base (vic1): 0x38E01000
Register
Description
0x0
IRQ Status
0x4
FIQ Status
0x8
Raw Interrupt Status
0xC
Interrupt Select (0=IRQ, 1=FIQ)
0x10
Interrupt Enable (0=Disabled, 1=Enabled)
0x14
Interrupt Enable Clear (Write-Only; 0=No Effect, 1=Interrupt enabled with previous reg disabled)
0x18
Software Interrupt (0=Disabled, 1=Enabled)
0x1C
Software Interrupt Clear (Write-Only; 0=No Effect, 1=Interrupt enabled with previous reg disabled)
0x20
Register Protection Mode. If bit 0 is set to 1, then Protection Mode is on and only privileged mode writes will work.
0x24
Software Interrupt Priority Mask (0=Masked, 1=Not Masked)
0x100
Vector Addresses
0x200
Vector Priority Levels
0xFE0 through 0xFEC
Not sure what these four registers are, because I can confirm that at least SecureROM, probably iBoot and such too, will simply read them when initializing the vectored interrupt controller. It does nothing about the contents...I'll post a snippet from IDA in the discussion page, but if anyone knows what these do, put it here.