mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-04 00:05:57 +00:00
In _isr_wrapper, the interrupt ID read from the GIC is blindly used to index into _sw_isr_table, which is only sized based on CONFIG_NUM_IRQ. It is possible for both GICv2 and GICv3 to return 1023 for a handful of scenarios, the simplest of which is a level sensitive interrupt which has subsequently become de-asserted. Borrowing from the Linux GIC implementation, a read that returns an interrupt ID of 1023 is simply ignored. Minor collateral changes to gic.h to group !_ASMLANGUAGE content together to allow this header to be used in assembler files. Signed-off-by: Luke Starrett <luke.starrett@gmail.com> |
||
---|---|---|
.. | ||
adc | ||
bluetooth | ||
clock_control | ||
console | ||
ec_host_cmd_periph | ||
gpio | ||
ieee802154 | ||
interrupt_controller | ||
led | ||
modem | ||
pcie | ||
rtc | ||
sensor | ||
timer | ||
uart | ||
usb | ||
adc.h | ||
can.h | ||
clock_control.h | ||
counter.h | ||
dac.h | ||
display.h | ||
dma.h | ||
ec_host_cmd_periph.h | ||
eeprom.h | ||
entropy.h | ||
espi.h | ||
flash.h | ||
gna.h | ||
gpio.h | ||
gsm_ppp.h | ||
hwinfo.h | ||
i2c_emul.h | ||
i2c.h | ||
i2s.h | ||
ipm.h | ||
kscan.h | ||
led_strip.h | ||
led.h | ||
lora.h | ||
peci.h | ||
pinmux.h | ||
ps2.h | ||
pwm.h | ||
regulator.h | ||
sensor.h | ||
spi_emul.h | ||
spi.h | ||
uart.h | ||
video-controls.h | ||
video.h | ||
watchdog.h |