1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-08 13:11:49 +00:00

thermosphere: suppress potential unused variable warnings

This commit is contained in:
TuxSH 2020-02-03 02:16:53 +00:00
parent 8fbe4385c6
commit f2edaee5b6
2 changed files with 2 additions and 0 deletions

View file

@ -202,6 +202,7 @@ void handleLowerElSyncException(ExceptionStackFrame *frame)
void handleSameElSyncException(ExceptionStackFrame *frame)
{
ExceptionSyndromeRegister esr = frame->esr_el2;
(void)esr;
DEBUG("Same EL sync exception on core %x, EC = 0x%02llx IL=%llu ISS=0x%06llx\n", currentCoreCtx->coreId, (u64)esr.ec, esr.il, esr.iss);
dumpStackFrame(frame, true);
}

View file

@ -77,6 +77,7 @@ void testProcessDataCallback(TransportInterface *iface, void *p, size_t sz)
(void)sz;
debugManagerUnpauseCores(BIT(0));
TestCtx *ctx = (TestCtx *)p;
(void)ctx;
DEBUG("EL2 [core %u]: you typed: %s\n", currentCoreCtx->coreId, ctx->buf);
}