Changeset 7db09923 in rtems


Ignore:
Timestamp:
Apr 25, 2017, 4:42:18 PM (3 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
fdfbb0a8
Parents:
28e5749e
Message:

rtems/inttypes.h epiphany_sim/irq/irq.c: Add PRIdrtems_vector_number and use it

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/epiphany/epiphany_sim/irq/irq.c

    r28e5749e r7db09923  
    3838#include <bsp/irq-generic.h>
    3939
     40#include <rtems/inttypes.h>
     41
    4042/* Almost all of the jobs that the following functions should
    4143 * do are implemented in cpukit
     
    4446void bsp_interrupt_handler_default(rtems_vector_number vector)
    4547{
    46     printk("spurious interrupt: %u\n", vector);
     48    printk("spurious interrupt: %" PRIdrtems_vector_number "\n", vector);
    4749}
    4850
  • cpukit/include/rtems/inttypes.h

    r28e5749e r7db09923  
    138138#define PRIdioctl_command_t PRId32
    139139
     140/* rtems_vector_number */
     141#define PRIdrtems_vector_number PRId32
     142
    140143/**@}*/
    141144
Note: See TracChangeset for help on using the changeset viewer.