1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-19 08:52:25 +00:00

thermosphere: suppress potential unused variable warnings

This commit is contained in:
TuxSH 2020-02-03 02:16:53 +00:00
parent 53850a5976
commit 78eea8a373
2 changed files with 2 additions and 0 deletions

View file

@ -202,6 +202,7 @@ void handleLowerElSyncException(ExceptionStackFrame *frame)
void handleSameElSyncException(ExceptionStackFrame *frame) void handleSameElSyncException(ExceptionStackFrame *frame)
{ {
ExceptionSyndromeRegister esr = frame->esr_el2; 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); 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); dumpStackFrame(frame, true);
} }

View file

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