thermosphere: seriaLog => debugLog, add DEBUG macro

This commit is contained in:
TuxSH
2019-07-31 02:30:17 +02:00
parent abe524fd79
commit 6cbf5628d4
5 changed files with 28 additions and 19 deletions

View File

@@ -15,14 +15,14 @@
*/
#include "hvc.h"
#include "log.h"
#include "debug_log.h"
void handleHypercall(ExceptionStackFrame *frame, ExceptionSyndromeRegister esr)
{
u32 id = esr.iss;
switch (id) {
default:
serialLog("Unhandled hypercall: 0x%x.\n");
DEBUG("Unhandled hypercall: 0x%x.\n");
dumpStackFrame(frame, false);
break;
}