source: rtems/c/src/lib/libcpu/arm/mc9328mxl/irq/irq.c @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 931 bytes
Line 
1/*
2 * Motorola MC9328MXL Interrupt handler
3 *
4 * Copyright (c) 2010 embedded brains GmbH.
5 *
6 * Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.rtems.com/license/LICENSE.
11 */
12
13#include <bsp.h>
14#include <bsp/irq.h>
15#include <bsp/irq-generic.h>
16
17#include <mc9328mxl.h>
18
19void bsp_interrupt_dispatch(void)
20{
21  rtems_vector_number vector = *((uint32_t *) 0x00223040) >> 16;
22
23  bsp_interrupt_handler_dispatch(vector);
24}
25
26rtems_status_code bsp_interrupt_vector_enable(rtems_vector_number vector)
27{
28  return RTEMS_SUCCESSFUL;
29}
30
31rtems_status_code bsp_interrupt_vector_disable(rtems_vector_number vector)
32{
33  return RTEMS_SUCCESSFUL;
34}
35
36rtems_status_code bsp_interrupt_facility_initialize(void)
37{
38
39  _CPU_ISR_install_vector(ARM_EXCEPTION_IRQ, arm_exc_interrupt, NULL);
40
41  return RTEMS_SUCCESSFUL;
42}
Note: See TracBrowser for help on using the repository browser.