thermosphere: seriaLog => debugLog, add DEBUG macro
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "utils.h"
|
||||
#include "core_ctx.h"
|
||||
#include "log.h"
|
||||
#include "debug_log.h"
|
||||
#include "platform/uart.h"
|
||||
#include "traps.h"
|
||||
|
||||
@@ -10,11 +10,11 @@ int main(void)
|
||||
|
||||
if (currentCoreCtx->coreId == 0) {
|
||||
uartInit(115200);
|
||||
serialLog("Hello from Thermosphere!\n");
|
||||
DEBUG("Hello from Thermosphere!\n");
|
||||
__builtin_trap();
|
||||
}
|
||||
else {
|
||||
serialLog("Core %u booted\n", currentCoreCtx->coreId);
|
||||
DEBUG("Core %u booted\n", currentCoreCtx->coreId);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user