ErrDisp: Difference between revisions
Added preliminary information about errinfo format |
m Added errdisp output format 4 information |
||
Line 20: | Line 20: | ||
|} | |} | ||
= errinfo = | = output, where *((u8*)errinfo) == 4 = | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Entry | ||
! | ! Format string | ||
! | ! Format args | ||
! Description | |||
|- | |- | ||
| 1 | | PID | ||
| 0x%08X_0x%08X | |||
| 0x41900000, *(u32*)(errinfo + 0x10) | |||
| Process ID | |||
|- | |||
| REV | |||
| %d | |||
| *(u16*)(errinfo + 2) | (*(u8*)(errinfo + 1) << 16) | |||
| ? | | ? | ||
|- | |- | ||
| | | AID | ||
| ? | | 0x%08X_0x%08X | ||
| | | 0x41900000, *(u32*)(errinfo + 0x18) | ||
| Application ID? | |||
|- | |||
| RSL | |||
| 0x%08X | |||
| *(u32*)(errinfo + 4) | |||
| Error code | |||
|- | |||
| Level | |||
| %d | |||
| *(u32*)(errinfo + 4) & 0x80000000 ? (*(u32*)(errinfo + 4) >> 0x27) - 0x20 : *(u32*)(errinfo + 4) >> 0x27 | |||
| Error code level | |||
|- | |- | ||
| | | Summary | ||
| | | %d | ||
| | | (*(u32*)(errinfo + 4) & 0x7E00000) >> 21 | ||
| Error code summary | |||
|- | |- | ||
| | | Module | ||
| | | %d | ||
| | | (*(u32*)(errinfo + 4) & 0x3FC00) >> 10 | ||
| Error code module | |||
|- | |- | ||
| | | Desc | ||
| | | %d | ||
| | | (*(u32*)(errinfo + 4) << 22) >> 22 | ||
| Error code description | |||
|- | |- | ||
| 4 | | ? | ||
| | | %0.*s | ||
| | | 0x2E, for (int i = 0; i < 2; i++) (errinfo + (((i << 3) - i) + (i << 4)) << 1) + 0x20 | ||
| ? | |||
|- | |||
| Datetime | |||
| %04d/%02d/%02d %02d:%02d:%02d | |||
| ? | |||
| ? | |||
|} | |} |