[RTEMS Project] #3344: mcf5272/mcf5272.h Timer3 Duplicate Definition

RTEMS trac trac at rtems.org
Thu Mar 15 14:44:25 UTC 2018


#3344: mcf5272/mcf5272.h Timer3 Duplicate Definition
----------------------------+--------------------
  Reporter:  Joel Sherrill  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  normal         |  Milestone:  5.1
 Component:  arch/m68k      |    Version:  5
  Severity:  normal         |   Keywords:
Blocked By:                 |   Blocking:
----------------------------+--------------------
 This .h file uses the same macro names for two blocks of INT macros. My
 assumption given that the second looks to be a different INT, is that it
 should not be INT3 again but INT3.

 --- a/bsps/m68k/include/mcf5272/mcf5272.h
 +++ b/bsps/m68k/include/mcf5272/mcf5272.h
 @@ -88,9 +88,9 @@
  #define MCF5272_ICR1_INT3_PI     (bit(23))
  #define MCF5272_ICR1_INT3_IPL(x) ((x) << 20)
  #define MCF5272_ICR1_INT3_MASK   ((7) << 20)
 -#define MCF5272_ICR1_INT3_PI     (bit(19))
 -#define MCF5272_ICR1_INT3_IPL(x) ((x) << 16)
 -#define MCF5272_ICR1_INT3_MASK   ((7) << 16)
 +#define MCF5272_ICR1_INT4_PI     (bit(19))
 +#define MCF5272_ICR1_INT4_IPL(x) ((x) << 16)
 +#define MCF5272_ICR1_INT4_MASK   ((7) << 16)

--
Ticket URL: <http://devel.rtems.org/ticket/3344>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list