Difference between revisions of "Fatal services"

From Nintendo Switch Brew
Jump to navigation Jump to search
(Created page with "= fatal:u = {| class="wikitable" border="1" |- ! Cmd || Name |- | 0 || |- | 1 || |- | 2 || |} = fatal:p =")
 
(Added TransitionToFatalError)
Line 8: Line 8:
 
| 1 ||
 
| 1 ||
 
|-
 
|-
| 2 ||
+
| 2 || [[#TransitionToFatalError]]
 
|}
 
|}
  
 +
== TransitionToFatalError ==
 +
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
 
= fatal:p =
 
= fatal:p =

Revision as of 03:31, 4 October 2017

fatal:u

Cmd Name
0
1
2 #TransitionToFatalError

TransitionToFatalError

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

fatal:p