4.104.114.84.95
Last change
on this file since f1c62bb was
18e45af1,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/17/02 at 17:16:14
|
2002-07-17 Jay Monkman <jtm@…>
- irq/bsp_irq_asm.S: Disable code to touch PIC.
|
-
Property mode set to
100644
|
File size:
870 bytes
|
Rev | Line | |
---|
[08330bf] | 1 | /* bsp_irq_asm.S |
---|
| 2 | * |
---|
| 3 | * This file contains the implementation of the IRQ handler |
---|
| 4 | * for a specific BSP |
---|
| 5 | * |
---|
| 6 | * CopyRight (C) 2000 Canon Research France SA. |
---|
| 7 | * Emmanuel Raguet, mailto:raguet@crf.canon.fr |
---|
| 8 | * |
---|
| 9 | * The license and distribution terms for this file may be |
---|
| 10 | * found in found in the file LICENSE in this distribution or at |
---|
| 11 | * http://www.OARcorp.com/rtems/license.html. |
---|
| 12 | * |
---|
[18e45af1] | 13 | * $Id$ |
---|
[08330bf] | 14 | */ |
---|
| 15 | |
---|
| 16 | #define __asm__ |
---|
| 17 | #include <registers.h> |
---|
| 18 | |
---|
| 19 | /* |
---|
| 20 | * Function to obtain, execute an IT handler and acknowledge the IT |
---|
| 21 | */ |
---|
| 22 | |
---|
| 23 | .globl ExecuteITHandler |
---|
| 24 | |
---|
| 25 | ExecuteITHandler : |
---|
| 26 | |
---|
| 27 | /* |
---|
| 28 | * Here is the code to execute the appropriate INT handler |
---|
| 29 | */ |
---|
| 30 | |
---|
[18e45af1] | 31 | mov pc, r0 |
---|
| 32 | |
---|
| 33 | #if 0 |
---|
[08330bf] | 34 | /* |
---|
| 35 | * Function to acknowledge the IT controller |
---|
| 36 | */ |
---|
| 37 | .globl AckControler |
---|
| 38 | |
---|
| 39 | AckControler: |
---|
| 40 | |
---|
| 41 | /* |
---|
| 42 | * Here is the code to acknowledge the PIC |
---|
| 43 | */ |
---|
| 44 | |
---|
| 45 | b ReturnFromAck /* return to ISR handler */ |
---|
| 46 | |
---|
[18e45af1] | 47 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.