GSP Shared Memory: Difference between revisions

Ichfly (talk | contribs)
Line 3: Line 3:


=Interrupt info=
=Interrupt info=
The Interrupt info structure is located at sharedmemvadr + threadindex*0x40.
The Interrupt info structure is located at sharedmemvadr + process_gsp_index*0x40.


It most likely is a list of Interrupt (IDs 0-6 exist (could be more))
It is a list of interrupts (id's 0-6 exist).


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 13: Line 13:
|-
|-
| 0x0
| 0x0
| index of the last processed data (fild size is 0x33) (must be updated manually)
| Index of the last processed data (field size is 0x33) (must be updated manually)
|-
|-
| 0x1
| 0x1
| to be processed datafilds
| To be processed datafields
|-
|-
| 0x2
| 0x2
| ?errorflag (0 = worked 1 = error)?
| Errorflag (0 = worked 1 = error) ???
|-
|-
| 0x3-0xC
| 0x3-0xB
| unk
| unk
|-
| 0xC
| Interrupt ID
|-
|-
| 0xC-0x3F
| 0xC-0x3F
| u8 datafild[0x33]
| u8 datafield[0x33]
|}
|}