source: rtems/c/src/lib/libbsp/i386/shared/irq/irq_asm.h @ f05b2ac

4.104.114.84.95
Last change on this file since f05b2ac was f05b2ac, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/21/04 at 16:01:48

Remove duplicate white lines.

  • Property mode set to 100644
File size: 1017 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#endif
Note: See TracBrowser for help on using the repository browser.