Fatal services: Difference between revisions

No edit summary
fatal:p: official command name
 
(4 intermediate revisions by 3 users not shown)
Line 6: Line 6:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 ||  
| 0 || ThrowFatal
|-
|-
| 1 || FatalSimple
| 1 || ThrowFatalWithPolicy
|-
|-
| 2 || [[#TransitionToFatalError]]
| 2 || [[#ThrowFatalWithCpuContext]]
|}
|}


== TransitionToFatalError ==
== ThrowFatalWithCpuContext ==
Takes an input u64 errorcode and an unknown u64(TID maybe?). It also takes a type-0x15 error buffer and a pid-descriptor. The error buffer contains a stack trace.  
Takes an input u64 errorcode and an unknown u64(TID maybe?). It also takes a type-0x15 error buffer and a pid-descriptor. The error buffer contains a stack trace.  
The stack trace address count is stored at errorbuffer+0x240 and the addresses are stored at errorbuffer+0x130+i*8 where i = 0->address count
The stack trace address count is stored at errorbuffer+0x240 and the addresses are stored at errorbuffer+0x130+i*8 where i = 0->address count
Line 25: Line 25:
|-
|-
| 0 || GetFatalEvent
| 0 || GetFatalEvent
|-
| 10 || [14.0.0+]  GetFatalContext
|}
== FatalType ==
{| class="wikitable" border="1"
|-
! Value || Name
|-
| 0 || ErrorReportAndErrorScreen
|-
| 1 || ErrorReport
|-
| 2 || [3.0.0+] ErrorScreen
|}
|}


[[Category:Services]]
[[Category:Services]]