zephyr/drivers/interrupt_controller
Andrew Boie 9fc3afc339 x86: rebase priority levels
Having priority levels 0 and 1 reserved on x86 due to implementation
details on how the CPU uses the vector table is confusing to users,
and makes it unnecessarily difficult to share drivers between arches.

Now on x86, priority levels 0 and 1 are available. Semantically, all
priority levels have had 2 subtracted from them.

It is no longer necessary to specify a priority level when the
vector itself is specified. If an IDT entry has a specific vector
associated with it, any priority argument is simply ignored.

In gen_idt, some simplifications have been made:
- The printed representation of a generated entry now fits on one line
- Some checks being done in validate_priority() were redundant, as
  generate_interrupt_vector_bitmap() also ensures that there are
  sufficient free vectors within a priority level.

Change-Id: I26669d8ee0a53f48fbc2283490a8c42d8b1daf8e
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-02-08 21:45:07 -05:00
..
arcv2_irq_unit.c Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
i8259.c init: use SYS_INIT() where it makes sense 2016-02-05 20:25:25 -05:00
ioapic_intr.c init: use SYS_INIT() where it makes sense 2016-02-05 20:25:25 -05:00
ioapic_priv.h quark_se: apic: work around EOI forwarding issue 2016-02-05 20:25:05 -05:00
Kconfig x86: remove NANO_SOFT_IRQ from zephyr 2016-02-05 20:25:16 -05:00
loapic_intr.c init: use SYS_INIT() where it makes sense 2016-02-05 20:25:25 -05:00
loapic_spurious.S loapic: handle spurious interrupts 2016-02-05 20:25:04 -05:00
Makefile loapic: handle spurious interrupts 2016-02-05 20:25:04 -05:00
mvic.c mvic: fix how local interrupts are programmed 2016-02-05 20:25:05 -05:00
system_apic.c x86: rebase priority levels 2016-02-08 21:45:07 -05:00