mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-15 00:16:48 +00:00
thermosphere: fix truncation in vgicCleanupPendingList
This commit is contained in:
parent
76a5e745e4
commit
0811572889
1 changed files with 1 additions and 1 deletions
|
@ -651,7 +651,7 @@ static void vgicCleanupPendingList(void)
|
||||||
|
|
||||||
// Note: we can't touch PPIs for other cores... but each core will call this function anyway.
|
// Note: we can't touch PPIs for other cores... but each core will call this function anyway.
|
||||||
if (id >= 32 || coreId == currentCoreCtx->coreId) {
|
if (id >= 32 || coreId == currentCoreCtx->coreId) {
|
||||||
u8 mask = g_irqManager.gic.gicd->ispendr[id / 32] & BIT(id % 32);
|
u32 mask = g_irqManager.gic.gicd->ispendr[id / 32] & BIT(id % 32);
|
||||||
if (mask == 0) {
|
if (mask == 0) {
|
||||||
g_irqManager.gic.gicd->icactiver[id / 32] = mask;
|
g_irqManager.gic.gicd->icactiver[id / 32] = mask;
|
||||||
pending = false;
|
pending = false;
|
||||||
|
|
Loading…
Reference in a new issue