4.104.114.84.95
Last change
on this file since 3299388d was
a3c7123,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/04/03 at 18:51:24
|
2003-09-04 Joel Sherrill <joel@…>
- comm/gdb_glue.c, irq/idt.c, irq/irq.c, irq/irq.h, irq/irq_asm.S,
irq/irq_asm.h, irq/irq_init.c: URL for license changed.
|
-
Property mode set to
100644
|
File size:
1018 bytes
|
Line | |
---|
1 | /* irq_asm.h |
---|
2 | * |
---|
3 | * This include file has defines to represent some contant used |
---|
4 | * to program and manage the Intel 8259 interrupt controller |
---|
5 | * |
---|
6 | * |
---|
7 | * COPYRIGHT (c) 1998 valette@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.rtems.com/license/LICENSE. |
---|
12 | * |
---|
13 | * $Id$ |
---|
14 | */ |
---|
15 | #ifndef __IRQ_ASM_H__ |
---|
16 | #define __IRQ_ASM_H__ |
---|
17 | |
---|
18 | #define BSP_ASM_IRQ_VECTOR_BASE 0x20 |
---|
19 | /* PIC's command and mask registers */ |
---|
20 | #define PIC_MASTER_COMMAND_IO_PORT 0x20 /* Master PIC command register */ |
---|
21 | #define PIC_SLAVE_COMMAND_IO_PORT 0xa0 /* Slave PIC command register */ |
---|
22 | #define PIC_MASTER_IMR_IO_PORT 0x21 /* Master PIC Interrupt Mask Register */ |
---|
23 | #define PIC_SLAVE_IMR_IO_PORT 0xa1 /* Slave PIC Interrupt Mask Register */ |
---|
24 | |
---|
25 | /* Command for specific EOI (End Of Interrupt): Interrupt acknowledge */ |
---|
26 | #define PIC_EOSI 0x60 /* End of Specific Interrupt (EOSI) */ |
---|
27 | #define PIC_EOI 0x20 /* Generic End of Interrupt (EOI) */ |
---|
28 | |
---|
29 | |
---|
30 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.