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

4.11
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on Mar 20, 2014 at 9:10:47 PM

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1/**
2 * @file
3 * @ingroup i386_irq
4 * @brief
5 */
6
7/* irq_asm.h
8 *
9 *  This include file has defines to represent some contant used
10 *  to program and manage the  Intel 8259 interrupt controller
11 *
12 *
13 *  COPYRIGHT (c) 1998 valette@crf.canon.fr
14 *
15 *  The license and distribution terms for this file may be
16 *  found in the file LICENSE in this distribution or at
17 *  http://www.rtems.org/license/LICENSE.
18 */
19#ifndef __IRQ_ASM_H__
20#define __IRQ_ASM_H__
21
22#define BSP_ASM_IRQ_VECTOR_BASE 0x20
23    /** @brief PIC's command and mask registers */
24#define PIC_MASTER_COMMAND_IO_PORT              0x20    ///< Master PIC command register
25#define PIC_SLAVE_COMMAND_IO_PORT               0xa0    ///< Slave PIC command register
26#define PIC_MASTER_IMR_IO_PORT                  0x21    ///< Master PIC Interrupt Mask Register
27#define PIC_SLAVE_IMR_IO_PORT                   0xa1    ///< Slave PIC Interrupt Mask Register
28
29    /** @brief Command for specific EOI (End Of Interrupt): Interrupt acknowledge */
30#define PIC_EOSI        0x60    ///< End of Specific Interrupt (EOSI)
31#define PIC_EOI         0x20    ///< Generic End of Interrupt (EOI)
32
33#endif
Note: See TracBrowser for help on using the repository browser.