Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
i8259.c File Reference
#include <linux/linkage.h>
#include <linux/errno.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/timex.h>
#include <linux/random.h>
#include <linux/init.h>
#include <linux/kernel_stat.h>
#include <linux/syscore_ops.h>
#include <linux/bitops.h>
#include <linux/acpi.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/atomic.h>
#include <asm/timer.h>
#include <asm/hw_irq.h>
#include <asm/pgtable.h>
#include <asm/desc.h>
#include <asm/apic.h>
#include <asm/i8259.h>

Go to the source code of this file.

Functions

 DEFINE_RAW_SPINLOCK (i8259A_lock)
 
 device_initcall (i8259A_init_ops)
 

Variables

unsigned int cached_irq_mask = 0xffff
 
unsigned long io_apic_irqs
 
struct irq_chip i8259A_chip
 
struct legacy_pic null_legacy_pic
 
struct legacy_pic default_legacy_pic
 
struct legacy_piclegacy_pic = &default_legacy_pic
 

Function Documentation

DEFINE_RAW_SPINLOCK ( i8259A_lock  )
device_initcall ( i8259A_init_ops  )

Variable Documentation

unsigned int cached_irq_mask = 0xffff

Definition at line 43 of file i8259.c.

struct legacy_pic default_legacy_pic
Initial value:
= {
.nr_legacy_irqs = NR_IRQS_LEGACY,
.chip = &i8259A_chip,
.mask = mask_8259A_irq,
.unmask = unmask_8259A_irq,
.mask_all = mask_8259A,
.restore_mask = unmask_8259A,
.init = init_8259A,
.irq_pending = i8259A_irq_pending,
.make_irq = make_8259A_irq,
}

Definition at line 379 of file i8259.c.

struct irq_chip i8259A_chip
Initial value:
= {
.name = "XT-PIC",
.irq_mask = disable_8259A_irq,
.irq_disable = disable_8259A_irq,
.irq_unmask = enable_8259A_irq,
.irq_mask_ack = mask_and_ack_8259A,
}

Definition at line 222 of file i8259.c.

unsigned long io_apic_irqs

Definition at line 54 of file i8259.c.

Definition at line 391 of file i8259.c.

struct legacy_pic null_legacy_pic
Initial value:
= {
.nr_legacy_irqs = 0,
.chip = &dummy_irq_chip,
.mask = legacy_pic_uint_noop,
.unmask = legacy_pic_uint_noop,
.mask_all = legacy_pic_noop,
.restore_mask = legacy_pic_noop,
.init = legacy_pic_int_noop,
.irq_pending = legacy_pic_irq_pending_noop,
.make_irq = legacy_pic_uint_noop,
}

Definition at line 367 of file i8259.c.