thermosphere: use x18 but qemu shits the bed

This commit is contained in:
TuxSH 2019-07-29 01:25:50 +02:00
parent af8e0f2519
commit 16cfa1305d
6 changed files with 64 additions and 39 deletions

View file

@ -18,8 +18,10 @@
#include "utils.h"
typedef struct CoreCtx {
u32 coreId;
u64 kernelArgument;
u64 kernelEntrypoint;
u32 coreId; // @ 0x0C
} CoreCtx;
extern CoreCtx g_coreCtxInstances[4];
register CoreCtx *currentCoreCtx asm("x18");
extern CoreCtx g_coreCtxs[4];
register CoreCtx *currentCoreCtx asm("x18");