libnx
v4.8.0
|
AArch64 register dump format and related definitions. More...
#include "../types.h"
Go to the source code of this file.
Data Structures | |
union | CpuRegister |
Armv8 CPU register. More... | |
union | FpuRegister |
Armv8 NEON register. More... | |
struct | ThreadContext |
Thread context structure (register dump) More... | |
struct | ThreadExceptionDump |
Thread exception dump structure. More... | |
struct | ThreadExceptionFrameA64 |
struct | ThreadExceptionFrameA32 |
Enumerations | |
enum | RegisterGroup { RegisterGroup_CpuGprs = (1U<<( 0 )) , RegisterGroup_CpuSprs = (1U<<( 1 )) , RegisterGroup_FpuGprs = (1U<<( 2 )) , RegisterGroup_FpuSprs = (1U<<( 3 )) , RegisterGroup_CpuAll = RegisterGroup_CpuGprs | RegisterGroup_CpuSprs , RegisterGroup_FpuAll = RegisterGroup_FpuGprs | RegisterGroup_FpuSprs , RegisterGroup_All = RegisterGroup_CpuAll | RegisterGroup_FpuAll } |
Armv8 register group. svcGetThreadContext3 uses RegisterGroup_All. More... | |
enum | ThreadExceptionDesc { ThreadExceptionDesc_InstructionAbort = 0x100 , ThreadExceptionDesc_MisalignedPC = 0x102 , ThreadExceptionDesc_MisalignedSP = 0x103 , ThreadExceptionDesc_SError = 0x106 , ThreadExceptionDesc_BadSVC = 0x301 , ThreadExceptionDesc_Trap = 0x104 , ThreadExceptionDesc_Other = 0x101 } |
This is for ThreadExceptionDump error_desc. More... | |
Functions | |
static bool | threadContextIsAArch64 (const ThreadContext *ctx) |
Determines whether a thread context belong to an AArch64 process based on the PSR. More... | |
static bool | threadExceptionIsAArch64 (const ThreadExceptionDump *ctx) |
Determines whether a ThreadExceptionDump belongs to an AArch64 process based on the PSTATE. More... | |
AArch64 register dump format and related definitions.
enum RegisterGroup |
Armv8 register group. svcGetThreadContext3 uses RegisterGroup_All.
enum ThreadExceptionDesc |
This is for ThreadExceptionDump error_desc.
|
inlinestatic |
Determines whether a thread context belong to an AArch64 process based on the PSR.
[in] | ctx | Thread context to which PSTATE/cspr has been dumped to. |
|
inlinestatic |
Determines whether a ThreadExceptionDump belongs to an AArch64 process based on the PSTATE.
[in] | ctx | ThreadExceptionDump. |