gen_isr_tables: Delete the dead code accompanying .intList.num_isrs
intList has been populated with the number of isrs, aka interrupts, but nothing has not been using this information so we drop it and everything used to construct it. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
parent
11cb462df5
commit
a1e806bf44
6 changed files with 7 additions and 26 deletions
|
@ -10,9 +10,8 @@
|
|||
* What we create here is a data structure:
|
||||
*
|
||||
* struct {
|
||||
* u32_t num_isrs;
|
||||
* u32_t num_vectors;
|
||||
* struct _isr_list isrs[]; <- of size num_isrs
|
||||
* u32_t num_vectors; <- typically CONFIG_NUM_IRQS
|
||||
* struct _isr_list isrs[]; <- Usually of smaller size than num_vectors
|
||||
* }
|
||||
*
|
||||
* Which indicates the memory address of the number of isrs that were
|
||||
|
@ -36,10 +35,7 @@
|
|||
SECTION_PROLOGUE(.intList,,)
|
||||
{
|
||||
KEEP(*(.irq_info))
|
||||
LONG((__INT_LIST_END__ - __INT_LIST_START__) / __ISR_LIST_SIZEOF)
|
||||
__INT_LIST_START__ = .;
|
||||
KEEP(*(.intList))
|
||||
__INT_LIST_END__ = .;
|
||||
} GROUP_LINK_IN(IDT_LIST)
|
||||
#else
|
||||
/DISCARD/ :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue