[RTEMS Project] #4737: rtems_interrupt_is_pending behaviour expected between tc-intr-clear and tc-intr-raise-on

RTEMS trac trac at rtems.org
Fri Oct 7 07:23:18 UTC 2022


#4737: rtems_interrupt_is_pending behaviour expected between tc-intr-clear and tc-
intr-raise-on
----------------------------------+---------------------
 Reporter:  Lucian-Raul Silistru  |       Owner:  joel@…
     Type:  defect                |      Status:  new
 Priority:  normal                |   Milestone:
Component:  test                  |     Version:  6
 Severity:  normal                |  Resolution:
 Keywords:                        |  Blocked By:
 Blocking:                        |
----------------------------------+---------------------

Comment (by Lucian-Raul Silistru):

 We have a custom external controller (on a sparcv8 based CPU) where
 rtems_interrupt_is_pending (pending register) will return false if the
 vector is disabled (and interrupt is raised).

 So the check at
 https://github.com/RTEMS/rtems/blob/46f08961a22ff7ffc6196971c0ff04006689ded1/testsuites/validation
 /tc-intr-clear.c#L328 will fail.
 At the same time there's this unused check and comment
 https://github.com/RTEMS/rtems/blob/46f08961a22ff7ffc6196971c0ff04006689ded1/testsuites/validation
 /tc-intr-raise-on.c#L349

 We would like to know which version is the valid/correct one.

--
Ticket URL: <http://devel.rtems.org/ticket/4737#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list