RTEMS 7.0-rc1
Loading...
Searching...
No Matches
Macros | Functions
i8259.c File Reference

i8259 Management More...

#include <bsp.h>
#include <bsp/irq.h>

Macros

#define PIC_EOSI   0x60
 End of Specific Interrupt (EOSI)
 
#define PIC_EOI   0x20
 Generic End of Interrupt (EOI)
 
#define PIC_OCW3_RIS   0x01 /* 1 = read IS, 0 = read IR */
 
#define PIC_OCW3_RR   0x02 /* register read */
 
#define PIC_OCW3_P   0x04 /* poll mode command */
 
#define PIC_OCW3_SEL   0x08 /* must be 1 */
 
#define PIC_OCW3_SMM   0x20 /* special mode mask */
 
#define PIC_OCW3_ESMM   0x40 /* enable SMM */
 

Functions

int BSP_irq_disable_at_i8259s (const rtems_irq_number irqLine)
 function to disable a particular irq at 8259 level.
 
int BSP_irq_enable_at_i8259s (const rtems_irq_number irqLine)
 function to enable a particular irq at 8259 level.
 
int BSP_irq_enabled_at_i8259s (const rtems_irq_number irqLine)
 function to check if a particular irq is enabled at 8259 level.
 
int BSP_irq_ack_at_i8259s (const rtems_irq_number irqLine)
 function to acknowledge a particular irq at 8259 level.
 
unsigned short BSP_irq_suspend_i8259s (unsigned short mask)
 
void BSP_irq_resume_i8259s (unsigned short in_progress_save)
 
void BSP_i8259s_init (void)
 

Detailed Description

i8259 Management

This file contains the implementation of the function described in irq.h related to Intel 8259 Programmable Interrupt controller.