Subversion Repositories HelenOS

Rev

Rev 2927 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2927 Rev 4344
Line 36... Line 36...
36
#define KERN_ia32_I8259_H_
36
#define KERN_ia32_I8259_H_
37
 
37
 
38
#include <arch/types.h>
38
#include <arch/types.h>
39
#include <arch/interrupt.h>
39
#include <arch/interrupt.h>
40
 
40
 
41
#define PIC_PIC0PORT1   0x20
41
#define PIC_PIC0PORT1   ((ioport8_t *) 0x20)
42
#define PIC_PIC0PORT2   0x21
42
#define PIC_PIC0PORT2   ((ioport8_t *) 0x21)
43
#define PIC_PIC1PORT1   0xa0
43
#define PIC_PIC1PORT1   ((ioport8_t *) 0xa0)
44
#define PIC_PIC1PORT2   0xa1
44
#define PIC_PIC1PORT2   ((ioport8_t *) 0xa1)
45
 
45
 
46
#define PIC_NEEDICW4    (1<<0)
46
#define PIC_NEEDICW4    (1<<0)
47
#define PIC_ICW1    (1<<4)
47
#define PIC_ICW1    (1<<4)
48
 
48
 
49
extern void i8259_init(void);
49
extern void i8259_init(void);