Add stack overflow detection to fatal error code

This commit is contained in:
misson20000 authored and SciresM committed 2020-07-15 20:45:47 -07:00
1 parent f71ad5ac2c
commit 9382ff0939
3 files changed
+27 -9

No files matched your search

@@ -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;