#3014 closed defect (fixed)

interrupt vector indexing is assuming BSP_INTERRUPT_VECTOR_MIN = 0 for this code.

Reported by: phongvanpham Owned by: joel.sherrill@…
Priority: normal Milestone: 5.1
Component: bsps Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

Someone implement bsp_interrupt_handler_index() forgot to update this delta in rtems\c\src\lib\libbsp\shared\src\irq-generic.c:bsp_interrupt_allocate_handler_index(). See attachment.

Attachments (3)

irq-generic.c (15.0 KB) - added by phongvanpham on 05/09/17 at 21:37:53.
The file enclosed is baseline from 05/08/17 (latest) checkout
irq-generic.c.orig (15.0 KB) - added by phongvanpham on 05/09/17 at 21:38:50.
This is the original file (before change) for diff'ing purposes to see code delta
0001-interrupt-vector-indexing-is-assuming-BSP_INTERRUPT_.patch (896 bytes) - added by phongvanpham on 05/12/17 at 18:40:56.
patch

Download all attachments as: .zip

Change History (7)

Changed on 05/09/17 at 21:37:53 by phongvanpham

Attachment: irq-generic.c added

The file enclosed is baseline from 05/08/17 (latest) checkout

Changed on 05/09/17 at 21:38:50 by phongvanpham

Attachment: irq-generic.c.orig added

This is the original file (before change) for diff'ing purposes to see code delta

comment:1 Changed on 05/11/17 at 07:31:02 by Sebastian Huber

Milestone: 4.124.12.0

comment:2 Changed on 05/12/17 at 05:19:45 by Sebastian Huber

The change looks good, please use your real name and a valid e-mail address for the patch.

comment:3 Changed on 05/14/17 at 04:11:01 by Phong Pham <phamp@…>

Resolution: fixed
Status: newclosed

In a9859d1/rtems:

interrupt vector indexing is assuming BSP_INTERRUPT_VECTOR_MIN = 0

Closes #3014.

comment:4 Changed on 11/09/17 at 06:27:14 by Sebastian Huber

Milestone: 4.12.05.1

Milestone renamed

Note: See TracTickets for help on using tickets.