mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2026-03-19 22:11:57 +00:00
20 lines
347 B
C
20 lines
347 B
C
#include "utils.h"
|
|
#include "core_ctx.h"
|
|
#include "log.h"
|
|
#include "platform/uart.h"
|
|
|
|
int main(void)
|
|
{
|
|
if (currentCoreCtx->coreId == 0) {
|
|
uartInit(115200);
|
|
serialLog("Hello from Thermosphere!\n");
|
|
__builtin_trap();
|
|
}
|
|
|
|
else {
|
|
serialLog("Core %u booted\n", currentCoreCtx->coreId);
|
|
}
|
|
|
|
return 0;
|
|
}
|