1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-10 04:21:45 +00:00

exo: Change fatal names and add stack overflow

This commit is contained in:
CTCaer 2020-07-18 12:53:05 +03:00
parent fac1884a43
commit b8ca88ee0a
3 changed files with 15 additions and 13 deletions

View file

@ -331,19 +331,21 @@ static const char *get_error_desc(u32 error_desc)
switch (error_desc) switch (error_desc)
{ {
case 0x100: case 0x100:
return "IABRT"; return "IABRT"; // Instruction Abort.
case 0x101: case 0x101:
return "DABRT"; return "DABRT"; // Data Abort.
case 0x102: case 0x102:
return "PC-UA"; return "IUA"; // Instruction Unaligned Access.
case 0x103: case 0x103:
return "SP-UA"; return "DUA"; // Data Unaligned Access.
case 0x104: case 0x104:
return "TRAP"; return "UDF"; // Undefined Instruction.
case 0x106: case 0x106:
return "SE"; return "SYS"; // System Error.
case 0x301: case 0x301:
return "SVC"; return "SVC"; // Bad arguments or unimplemented SVC.
case 0xFFD:
return "SO"; // Stack Overflow.
case 0xFFE: case 0xFFE:
return "std::abort"; return "std::abort";
default: default: