libnx
v4.7.0
|
Fatal error (fatal:u) service IPC wrapper. More...
#include "../types.h"
Go to the source code of this file.
Data Structures | |
struct | FatalAarch64Context |
Struct for fatal Cpu context, 64-bit. More... | |
struct | FatalAarch32Context |
Struct for fatal Cpu context, 32-bit. More... | |
struct | FatalCpuContext |
Enumerations | |
enum | FatalPolicy { FatalPolicy_ErrorReportAndErrorScreen = 0 , FatalPolicy_ErrorReport = 1 , FatalPolicy_ErrorScreen = 2 } |
Type of thrown fatal error. More... | |
Functions | |
void | fatalThrow (Result err) |
Triggers a system fatal error. More... | |
void | fatalThrowWithPolicy (Result err, FatalPolicy type) |
Triggers a system fatal error with a custom FatalPolicy. More... | |
void | fatalThrowWithContext (Result err, FatalPolicy type, FatalCpuContext *ctx) |
Triggers a system fatal error with a custom FatalPolicy and FatalCpuContext. More... | |
Fatal error (fatal:u) service IPC wrapper.
enum FatalPolicy |
void fatalThrow | ( | Result | err | ) |
Triggers a system fatal error.
[in] | err | Result code to throw. |
void fatalThrowWithContext | ( | Result | err, |
FatalPolicy | type, | ||
FatalCpuContext * | ctx | ||
) |
Triggers a system fatal error with a custom FatalPolicy and FatalCpuContext.
[in] | err | Result code to throw. |
[in] | type | Type of fatal error to throw. |
[in] | ctx | Cpu context for fatal error to throw. |
void fatalThrowWithPolicy | ( | Result | err, |
FatalPolicy | type | ||
) |
Triggers a system fatal error with a custom FatalPolicy.
[in] | err | Result code to throw. |
[in] | type | Type of fatal error to throw. |