4.115
Last change
on this file since 3d597c0 was
3d597c0,
checked in by Hesham ALMatary <heshamelmatary@…>, on 04/18/15 at 16:25:51
|
Rename or1ksim BSP to generic_or1k
or1ksim BSP was initially named after or1ksim simulator, and it was
intented to only run there. But now it can also run on QEMU, jor1k and
real FPGA boards without modifications. It makes more sense to give
it a new generic name like generic_or1k.
|
-
Property mode set to
100644
|
File size:
804 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 | |
---|
20 | /* Almost all of the jobs that the following functions should |
---|
21 | * do are implemented in cpukit |
---|
22 | */ |
---|
23 | |
---|
24 | void bsp_interrupt_handler_default(rtems_vector_number vector) |
---|
25 | { |
---|
26 | printk("spurious interrupt: %u\n", vector); |
---|
27 | } |
---|
28 | |
---|
29 | rtems_status_code bsp_interrupt_facility_initialize() |
---|
30 | { |
---|
31 | return 0; |
---|
32 | } |
---|
33 | |
---|
34 | rtems_status_code bsp_interrupt_vector_enable(rtems_vector_number vector) |
---|
35 | { |
---|
36 | return 0; |
---|
37 | } |
---|
38 | |
---|
39 | rtems_status_code bsp_interrupt_vector_disable(rtems_vector_number vector) |
---|
40 | { |
---|
41 | return 0; |
---|
42 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.