5
Last change
on this file since ab77827 was
ab77827,
checked in by Joel Sherrill <joel@…>, on 04/26/17 at 01:01:10
|
or1k/generic_or1k/irq/irq.c: Include <rtems/inttypes.h> and fix printf() format warning
|
-
Property mode set to
100644
|
File size:
858 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup or1k_interrupt |
---|
5 | * |
---|
6 | * @brief Interrupt support. |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | * Copyright (c) 2014 Hesham ALMatary |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.rtems.org/license/LICENSE. |
---|
15 | */ |
---|
16 | |
---|
17 | #include <bsp/irq.h> |
---|
18 | #include <bsp/irq-generic.h> |
---|
19 | #include <rtems/inttypes.h> |
---|
20 | |
---|
21 | /* Almost all of the jobs that the following functions should |
---|
22 | * do are implemented in cpukit |
---|
23 | */ |
---|
24 | |
---|
25 | void bsp_interrupt_handler_default(rtems_vector_number vector) |
---|
26 | { |
---|
27 | printk("spurious interrupt: %" PRIdrtems_vector_number "\n", vector); |
---|
28 | } |
---|
29 | |
---|
30 | rtems_status_code bsp_interrupt_facility_initialize() |
---|
31 | { |
---|
32 | return 0; |
---|
33 | } |
---|
34 | |
---|
35 | rtems_status_code bsp_interrupt_vector_enable(rtems_vector_number vector) |
---|
36 | { |
---|
37 | return 0; |
---|
38 | } |
---|
39 | |
---|
40 | rtems_status_code bsp_interrupt_vector_disable(rtems_vector_number vector) |
---|
41 | { |
---|
42 | return 0; |
---|
43 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.