i8259.h (f72222c74bd642182cc892c99df65cb105c61193) | i8259.h (5619c28061ff9d2559a93eaba492935530f2a513) |
---|---|
1#ifndef _ASM_X86_I8259_H 2#define _ASM_X86_I8259_H 3 4#include <linux/delay.h> 5 6extern unsigned int cached_irq_mask; 7 8#define __byte(x, y) (((unsigned char *)&(y))[x]) --- 10 unchanged lines hidden (view full) --- 19#define PIC_SLAVE_IMR 0xa1 20 21/* i8259A PIC related value */ 22#define PIC_CASCADE_IR 2 23#define MASTER_ICW4_DEFAULT 0x01 24#define SLAVE_ICW4_DEFAULT 0x01 25#define PIC_ICW4_AEOI 2 26 | 1#ifndef _ASM_X86_I8259_H 2#define _ASM_X86_I8259_H 3 4#include <linux/delay.h> 5 6extern unsigned int cached_irq_mask; 7 8#define __byte(x, y) (((unsigned char *)&(y))[x]) --- 10 unchanged lines hidden (view full) --- 19#define PIC_SLAVE_IMR 0xa1 20 21/* i8259A PIC related value */ 22#define PIC_CASCADE_IR 2 23#define MASTER_ICW4_DEFAULT 0x01 24#define SLAVE_ICW4_DEFAULT 0x01 25#define PIC_ICW4_AEOI 2 26 |
27extern spinlock_t i8259A_lock; | 27extern raw_spinlock_t i8259A_lock; |
28 29extern void init_8259A(int auto_eoi); 30extern void enable_8259A_irq(unsigned int irq); 31extern void disable_8259A_irq(unsigned int irq); 32extern unsigned int startup_8259A_irq(unsigned int irq); 33 34/* the PIC may need a careful delay on some platforms, hence specific calls */ 35static inline unsigned char inb_pic(unsigned int port) --- 28 unchanged lines hidden --- | 28 29extern void init_8259A(int auto_eoi); 30extern void enable_8259A_irq(unsigned int irq); 31extern void disable_8259A_irq(unsigned int irq); 32extern unsigned int startup_8259A_irq(unsigned int irq); 33 34/* the PIC may need a careful delay on some platforms, hence specific calls */ 35static inline unsigned char inb_pic(unsigned int port) --- 28 unchanged lines hidden --- |