mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-05 09:13:43 -04:00
Add stack overflow detection to fatal error code
This commit is contained in:
parent
f71ad5ac2c
commit
9382ff0939
3 changed files with 27 additions and 9 deletions
|
@ -73,6 +73,7 @@ namespace ams {
|
|||
static constexpr uintptr_t StdAbortMagicAddress = 0x8;
|
||||
static constexpr u64 StdAbortMagicValue = 0xA55AF00DDEADCAFEul;
|
||||
static constexpr u32 StdAbortErrorDesc = 0xFFE;
|
||||
static constexpr u32 StackOverflowErrorDesc = 0xFFD;
|
||||
static constexpr u32 DataAbortErrorDesc = 0x101;
|
||||
static constexpr u32 Magic = util::FourCC<'A', 'F', 'E', '2'>::Code;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue