mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-25 20:24:21 -04:00
thermosphere: rework linkscrips, use discardable sections, better sp pivot on crash
This commit is contained in:
parent
e6c5eb3928
commit
e0339049b3
9 changed files with 92 additions and 56 deletions
|
@ -18,10 +18,12 @@
|
|||
#include "utils.h"
|
||||
|
||||
typedef struct CoreCtx {
|
||||
u64 kernelArgument;
|
||||
uintptr_t kernelEntrypoint;
|
||||
u32 coreId; // @0x10
|
||||
bool isColdbootCore; // @0x14
|
||||
u64 kernelArgument; // @0x00
|
||||
uintptr_t kernelEntrypoint; // @0x08
|
||||
u8 *crashStack; // @0x10
|
||||
u64 scratch; // @0x18
|
||||
u32 coreId; // @0x20
|
||||
bool isColdbootCore; // @0x24
|
||||
} CoreCtx;
|
||||
|
||||
extern CoreCtx g_coreCtxs[4];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue