Skip to content
Commit 31e3a345 authored by Andrew Boie's avatar Andrew Boie Committed by Anas Nashif
Browse files

gen_idt: validate IRQ line before vector assignment



On systems with fixed IRQ-to-vector mapping (like Quark D2000),
if multiple drivers tried to use the same IRQ line, gen_idt would
report an IDT vector collision rather than multiple IRQ line collision,
which is much less intuitive.

Move the IRQ line validation to before the vector validation to report
an easier to understand error.

Change-Id: I3930d8df38391e4708db5486e4bd4527d33c4cce
Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent 94367659
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment