Changes

4,257 bytes added ,  03:57, 8 December 2015
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00010800] |- | 1-32 | FatalErrInfo |} =Response= {| class="wi..."
=Request=
{| class="wikitable" border="1"
|-
! Index Word
! Description
|-
| 0
| Header code [0x00010800]
|-
| 1-32
| [[#FatalErrInfo|FatalErrInfo]]
|}

=Response=
{| class="wikitable" border="1"
|-
! Index Word
! Description
|-
| 0
| Header code
|-
| 1
| Result code
|}

=FatalErrInfo=
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0
| 0x1
| [[#FatalErrType|FatalErrType]]
|-
| 0x1
| 0x1
| Revision High (0x0 observed)
|-
| 0x2
| 0x2
| Revision Low (0x8436 observed)
|-
| 0x4
| 0x4
| Result Code
|-
| 0x8
| 0x4
| PC Address
|-
| 0xC
| 0x4
| Process ID
|-
| 0x10
| 0x8
| Title ID
|-
| 0x18
| 0x8
| Application Title ID
|-
| 0x20
| 0x60
| Data (type 3 = [[#Exception|Exception]], type 4 = [[#Failure|Failure]])
|}

==FatalErrType==
{| class="wikitable" border="1"
|-
! Value
! Description
|-
| 0
| Generic
|-
| 3
| Exception
|-
| 4
| Result Failure
|-
| 5
| Logged
|}

==Exception==
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0
| 0x18
| [[#ExceptionInfo|ExceptionInfo]]
|-
| 0x18
| 0x44
| [[#ExceptionContext|ExceptionContext]]
|-
| 0x5C
| 0x4
| Padding
|}

===ExceptionType===
{| class="wikitable" border="1"
|-
! Value
! Description
|-
| 0
| Prefetch Abort
|-
| 1
| Data Abort
|-
| 2
| Undefined Exception
|-
| 3
| VFP Exception
|}

===ExceptionInfo===
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0
| 0x1
| [[#ExceptionType|ExceptionType]]
|-
| 0x1
| 0x3
| Padding
|-
| 0x4
| 0x4
| IFSR (Prefetch Abort)/DFSR (Data Abort)
|-
| 0x8
| 0x4
| r15 (Prefetch Abort)/DFAR (Data Abort)
|-
| 0xC
| 0x4
| FPEXC (VFP Exception)
|-
| 0x10
| 0x4
| FPINST (VFP Exception)
|-
| 0x14
| 0x4
| FPINST2 (VFP Exception)
|}

===ExceptionContext===
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0
| 0x4
| r0
|-
| 0x4
| 0x4
| r1
|-
| 0x8
| 0x4
| r2
|-
| 0xC
| 0x4
| r3
|-
| 0x10
| 0x4
| r4
|-
| 0x14
| 0x4
| r5
|-
| 0x18
| 0x4
| r6
|-
| 0x1C
| 0x4
| r7
|-
| 0x20
| 0x4
| r8
|-
| 0x24
| 0x4
| r9
|-
| 0x28
| 0x4
| r10
|-
| 0x2C
| 0x4
| r11
|-
| 0x30
| 0x4
| r12
|-
| 0x34
| 0x4
| r13
|-
| 0x38
| 0x4
| r14
|-
| 0x3C
| 0x4
| r15
|-
| 0x40
| 0x4
| CPSR
|}

==Failure==
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0
| 0x60
| char*, Message
|}

=Output=
==Generic==
{| class="wikitable" border="1"
|-
! Entry
! Format string
! Format args
|-
| PID
| 0x%08X_0x%08X
| [[#FatalErrInfo|FatalErrInfo]] Title ID
|-
| REV
| %d
| [[#FatalErrInfo|FatalErrInfo]] Revision Low <nowiki>|</nowiki> ([[#FatalErrInfo|FatalErrInfo]] Revision High << 16)
|-
| AID
| 0x%08X_0x%08X
| [[#FatalErrInfo|FatalErrInfo]] Application Title ID
|-
| ADR
| 0x%08X
| [[#FatalErrInfo|FatalErrInfo]] PC Address
|-
| RSL
| 0x%08X
| [[#FatalErrInfo|FatalErrInfo]] Result Code
|-
| Level
| %d
| [[#FatalErrInfo|FatalErrInfo]] Result Code & 0x80000000 ? ([[#FatalErrInfo|FatalErrInfo]] Result Code >> 27) - 0x20 : [[#FatalErrInfo|FatalErrInfo]] Result Code >> 27
|-
| Summary
| %d
| ([[#FatalErrInfo|FatalErrInfo]] Result Code & 0x7E00000) >> 21
|-
| Module
| %d
| ([[#FatalErrInfo|FatalErrInfo]] Result Code & 0x3FC00) >> 10
|-
| Desc
| %d
| [[#FatalErrInfo|FatalErrInfo]] Result Code & 0x3FF
|-
| Datetime
| %04d/%02d/%02d %02d:%02d:%02d
| Current Time
|}

==Result Failure==
{| class="wikitable" border="1"
|-
! Entry
! Format string
! Format args
|-
| PID
| 0x%08X_0x%08X
| [[#FatalErrInfo|FatalErrInfo]] Title ID
|-
| REV
| %d
| [[#FatalErrInfo|FatalErrInfo]] Revision Low <nowiki>|</nowiki> ([[#FatalErrInfo|FatalErrInfo]] Revision High << 16)
|-
| AID
| 0x%08X_0x%08X
| [[#FatalErrInfo|FatalErrInfo]] Application Title ID
|-
| RSL
| 0x%08X
| [[#FatalErrInfo|FatalErrInfo]] Result Code
|-
| Level
| %d
| [[#FatalErrInfo|FatalErrInfo]] Result Code & 0x80000000 ? ([[#FatalErrInfo|FatalErrInfo]] Result Code >> 27) - 0x20 : [[#FatalErrInfo|FatalErrInfo]] Result Code >> 27
|-
| Summary
| %d
| ([[#FatalErrInfo|FatalErrInfo]] Result Code & 0x7E00000) >> 21
|-
| Module
| %d
| ([[#FatalErrInfo|FatalErrInfo]] Result Code & 0x3FC00) >> 10
|-
| Desc
| %d
| [[#FatalErrInfo|FatalErrInfo]] Result Code & 0x3FF
|-
| ?
| %.*s
| [[#FatalErrInfo|FatalErrInfo]] Data [[#Failure|Failure]] Message
|-
| Datetime
| %04d/%02d/%02d %02d:%02d:%02d
| Current Time
|}
1,434

edits