source: rtems/c/src/lib/libbsp/i386/shared/irq/irq_asm.h @ 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: 996 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 the file LICENSE in this distribution or at
11 *  http://www.rtems.com/license/LICENSE.
12 */
13#ifndef __IRQ_ASM_H__
14#define __IRQ_ASM_H__
15
16#define BSP_ASM_IRQ_VECTOR_BASE 0x20
17    /* PIC's command and mask registers */
18#define PIC_MASTER_COMMAND_IO_PORT              0x20    /* Master PIC command register */
19#define PIC_SLAVE_COMMAND_IO_PORT               0xa0    /* Slave PIC command register */
20#define PIC_MASTER_IMR_IO_PORT                  0x21    /* Master PIC Interrupt Mask Register */
21#define PIC_SLAVE_IMR_IO_PORT                   0xa1    /* Slave PIC Interrupt Mask Register */
22
23    /* Command for specific EOI (End Of Interrupt): Interrupt acknowledge */
24#define PIC_EOSI        0x60    /* End of Specific Interrupt (EOSI) */
25#define PIC_EOI         0x20    /* Generic End of Interrupt (EOI) */
26
27#endif
Note: See TracBrowser for help on using the repository browser.