gen_isr_tables: apply offset to irq parameter
The interrupts would be placed at incorrect offsets on systems where some interrupt vectors are reserved for exceptions, such as ARC. Change-Id: I5b1f00eb9e8aecb84ae66e3d0461a734ffb5fbe6 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
5c335ce55f
commit
3944d8313e
3 changed files with 24 additions and 11 deletions
|
@ -42,10 +42,8 @@
|
|||
|
||||
SECTION_PROLOGUE(.intList,,)
|
||||
{
|
||||
KEEP(*(.irq.spurious))
|
||||
KEEP(*(.irq.handler))
|
||||
KEEP(*(.irq_info))
|
||||
LONG((__INT_LIST_END__ - __INT_LIST_START__) / __ISR_LIST_SIZEOF)
|
||||
KEEP(*(.irq.tablesize))
|
||||
__INT_LIST_START__ = .;
|
||||
KEEP(*(.intList))
|
||||
__INT_LIST_END__ = .;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue