thermosphere: honor irq config for ppis

This commit is contained in:
TuxSH 2020-01-03 01:57:57 +00:00
parent 7130b6efd1
commit 76a5e745e4

View file

@ -226,8 +226,6 @@ static inline bool vgicIsVirqEdgeTriggered(u16 id)
if (id < 16) {
return true;
} else if (id < 32) {
return false;
} else {
return (g_irqManager.gic.gicd->icfgr[id / 16] & (2 << (id % 16))) != 0;
}