mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-25 20:24:21 -04:00
thermosphere: fix x18 init, etc.
This commit is contained in:
parent
3fa9133814
commit
a11b0b6e0e
5 changed files with 35 additions and 26 deletions
|
@ -21,8 +21,10 @@ typedef struct CoreCtx {
|
|||
u64 kernelArgument;
|
||||
uintptr_t kernelEntrypoint;
|
||||
u32 coreId; // @0x10
|
||||
bool isColdBootCore; // @0x14
|
||||
bool isColdbootCore; // @0x14
|
||||
} CoreCtx;
|
||||
|
||||
extern CoreCtx g_coreCtxs[4];
|
||||
register CoreCtx *currentCoreCtx asm("x18");
|
||||
|
||||
void coreCtxInit(u32 coreId, bool isColdbootCore, u64 argument);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue