-
- Downloads
hardware_gen: Refactor calculating kernel IRQs
- directly return IRQs from Device.get_interrupts(): Previously, these IRQs were then mutated by Config.get_irqs() based on driver definitions in hardware.yml. Inverting this order makes get_interrupts more general. - Config.get_irqs() uses the Device it gets passed to call get_interrupts() only when it needs to extract interrupts for a device. - Use Config.get_irqs() for building kernel's IRQ list instead of calling Device.get_interrupts() due to the new inversion.
Please register or sign in to comment