12 FatalPolicy_ErrorReportAndErrorScreen = 0,
13 FatalPolicy_ErrorReport = 1,
void fatalThrow(Result err)
Triggers a system fatal error.
FatalPolicy
Type of thrown fatal error.
Definition: fatal.h:11
@ FatalPolicy_ErrorScreen
Only available with [3.0.0+]. If specified, FatalPolicy_ErrorReportAndErrorScreen will be used instea...
Definition: fatal.h:14
void fatalThrowWithPolicy(Result err, FatalPolicy type)
Triggers a system fatal error with a custom FatalPolicy.
void fatalThrowWithContext(Result err, FatalPolicy type, FatalCpuContext *ctx)
Triggers a system fatal error with a custom FatalPolicy and FatalCpuContext.
Struct for fatal Cpu context, 32-bit.
Definition: fatal.h:42
u32 start_address
Address of first NSO loaded (generally, process entrypoint).
Definition: fatal.h:62
u32 register_set_flags
Bitmask, bit i indicates GPR i has a value.
Definition: fatal.h:63
Struct for fatal Cpu context, 64-bit.
Definition: fatal.h:18
u64 register_set_flags
Bitmask, bit i indicates GPR i has a value.
Definition: fatal.h:37
u64 start_address
Address of first NSO loaded (generally, process entrypoint).
Definition: fatal.h:36
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
u32 Result
Function error code result type.
Definition: types.h:44
#define NX_NORETURN
Marks a function as not returning, for the purposes of compiler optimization.
Definition: types.h:68
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21