Only receive the interrupts on the first core, to avoid duplicate interrupts.
This commit is contained in:
parent
bce4a8587d
commit
f4eaa79f0b
@ -205,7 +205,7 @@ arm_gic_attach(device_t dev)
|
||||
|
||||
for (i = 0; i < nirqs; i += 4) {
|
||||
gic_d_write_4(GICD_IPRIORITYR(i >> 2), 0);
|
||||
gic_d_write_4(GICD_ITARGETSR(i >> 2), 0xffffffff);
|
||||
gic_d_write_4(GICD_ITARGETSR(i >> 2), 1 << 0 | 1 << 8 | 1 << 16 | 1 << 24);
|
||||
}
|
||||
|
||||
/* Set all the interrupts to be in Group 0 (secure) */
|
||||
|
Loading…
x
Reference in New Issue
Block a user