Changes

2,489 bytes added ,  03:58, 16 February 2024
Line 484: Line 484:  
| 31
 
| 31
 
|  
 
|  
 +
|}
 +
 +
== OSContext ==
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x8 || Tag
 +
|-
 +
| 0x8 || 0x80 || Gpr
 +
|-
 +
| 0x88 || 0x4 || Cr
 +
|-
 +
| 0x8C || 0x4 || Lr
 +
|-
 +
| 0x90 || 0x4 || Ctr
 +
|-
 +
| 0x94 || 0x4 || Xer
 +
|-
 +
| 0x98 || 0x4 || Srr0
 +
|-
 +
| 0x9C || 0x4 || Srr1
 +
|-
 +
| 0xA0 || 0x10 ||
 +
|-
 +
| 0xB0 || 0x4 || FpscrHigh
 +
|-
 +
| 0xB4 || 0x4 || FpscrLow
 +
|-
 +
| 0xB8 || 0x100 || Fpr
 +
|-
 +
| 0x1B8 || 0x2 || SpinLockCount
 +
|-
 +
| 0x1BA || 0x2 || ContextState
 +
|-
 +
| 0x1BC || 0x20 || Ugqr
 +
|-
 +
| 0x1DC || 0x4 || Pir
 +
|-
 +
| 0x1E0 || 0x100 || Psf
 +
|-
 +
| 0x2E0 || 0x18 || Coretime
 +
|-
 +
| 0x2F8 || 0x8 || Starttime
 +
|-
 +
| 0x300 || 0x4 || Error
 +
|-
 +
| 0x304 || 0x4 || Attributes
 +
|-
 +
| 0x308 || 0x4 || Pmc1
 +
|-
 +
| 0x30C || 0x4 || Pmc2
 +
|-
 +
| 0x310 || 0x4 || Pmc3
 +
|-
 +
| 0x314 || 0x4 || Pmc4
 +
|-
 +
| 0x318 || 0x4 || Mmcr0
 +
|-
 +
| 0x31C || 0x4 || Mmcr1
 +
|}
 +
 +
== CoreControl ==
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x58 ||
 +
|-
 +
| 0x58 || 0x4 || InterruptedContext
 +
|-
 +
| 0x5C || 0x4 ||
 +
|-
 +
| 0x60 || 0x4 ||
 +
|-
 +
| 0x64 || 0x4 || SysCallTableAddress
 +
|-
 +
| 0x68 || 0x4 || FastCallBaseAddress
 +
|-
 +
| 0x6C || 0x20 ||
 +
|-
 +
| 0x8C || 0x4 || NormalSysCalls
 +
|-
 +
| 0x90 || 0x4 || FpuExceptions
 +
|-
 +
| 0x94 || 0x4 || DsiExceptions
 +
|-
 +
| 0x98 || 0x4 || IciExceptions
 +
|-
 +
| 0x9C || 0xC ||
 +
|-
 +
| 0xA8 || 0xC || ProcessWork
 +
|-
 +
| 0xB4 || 0x4 || TotalProcesses
 +
|-
 +
| 0xB8 || 0x4 || ProcessIndex
 +
|-
 +
| 0xBC || 0x4 ||
 +
|-
 +
| 0xC0 || 0x4 || InterceptedLoadContext
 +
|-
 +
| 0xC4 || 0x4 || SintEnableAfterKernelExit
 +
|-
 +
| 0xC8 || 0x4 || AddrConfig
 +
|-
 +
| 0xCC || 0x20 ||
 +
|-
 +
| 0xEC || 0x4 || EaDataBegin
 +
|-
 +
| 0xF0 || 0x4 || EaDataEnd
 +
|-
 +
| 0xF4 || 0x78 ||
 +
|-
 +
| 0x16C || 0x28 || [[#PostException|PostException]]
 +
|-
 +
| 0x194 || 0x4 ||
 +
|-
 +
| 0x198 || 0x140 || [[#ExceptionContext|ExceptionContext0]]
 +
|-
 +
| 0x2D8 || 0x140 || [[#ExceptionContext|ExceptionContext1]]
 +
|}
 +
 +
== ExceptionContext ==
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x8 || Tbr64
 +
|-
 +
| 0x8 || 0x80 || Gpr
 +
|-
 +
| 0x88 || 0x4 || Cr
 +
|-
 +
| 0x8C || 0x4 || Lr
 +
|-
 +
| 0x90 || 0x4 || Ctr
 +
|-
 +
| 0x94 || 0x4 || Xer
 +
|-
 +
| 0x98 || 0x4 || Srr0
 +
|-
 +
| 0x9C || 0x4 || Srr1
 +
|-
 +
| 0xA0 || 0xA0 ||
 +
|}
 +
 +
== PostException ==
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x4 || OldUpid
 +
|-
 +
| 0x4 || 0x4 || TargetUpid
 +
|-
 +
| 0x8 || 0x4 || Exit
 +
|-
 +
| 0xC || 0x4 || Callback
 +
|-
 +
| 0x10 || 0x4 || CurrentExceptionContext
 +
|-
 +
| 0x14 || 0x4 || InterruptedContext
 +
|-
 +
| 0x18 || 0x4 ||
 +
|-
 +
| 0x1C || 0x4 ||
 +
|-
 +
| 0x20 || 0x4 ||
 +
|-
 +
| 0x24 || 0x4 ||
 
|}
 
|}