thermosphere: unfuck qemu JIT, fix exc. handling bug, add cache funcs

This commit is contained in:
TuxSH
2019-07-29 22:38:44 +02:00
parent 16cfa1305d
commit 61b6f06766
6 changed files with 274 additions and 25 deletions

View File

@@ -1,13 +1,19 @@
#include "utils.h"
#include "core_ctx.h"
#include "log.h"
#include "platform/uart.h"
int main(void)
{
uartInit(115200);
if (currentCoreCtx->coreId == 0) {
uartInit(115200);
serialLog("Hello from Thermosphere!\n");
__builtin_trap();
}
else {
serialLog("Core %u booted\n", currentCoreCtx->coreId);
}
serialLog("fifo flush fifo flush\n");
serialLog("Hello from Thermosphere!\n");
__builtin_trap();
return 0;
}