thermosphere: vgic: largely reduce the number of mmio accesses

since we have to use 64 bits for VirqState anyway
This commit is contained in:
TuxSH
2020-01-05 23:51:17 +00:00
parent d560330a9d
commit 2219494675
4 changed files with 61 additions and 37 deletions

View File

@@ -181,6 +181,7 @@ void handleIrqException(ExceptionStackFrame *frame, bool isLowerEl, bool isA32)
// Deactivate the interrupt
gicc->dir = iar;
} else {
if (irqId == 30) g_irqManager.gic.gicd->ispendr[0x80/32] = 0xFFFFFFFF;
vgicEnqueuePhysicalIrq(irqId);
}