Rev 1756 | Rev 1787 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1756 | Rev 1780 | ||
---|---|---|---|
Line 40... | Line 40... | ||
40 | #define PIC_MASK_LOW 9 |
40 | #define PIC_MASK_LOW 9 |
41 | #define PIC_MASK_HIGH 5 |
41 | #define PIC_MASK_HIGH 5 |
42 | #define PIC_ACK_LOW 10 |
42 | #define PIC_ACK_LOW 10 |
43 | #define PIC_ACK_HIGH 6 |
43 | #define PIC_ACK_HIGH 6 |
44 | 44 | ||
45 | void pic_init(__address base, size_t size); |
45 | void pic_init(uintptr_t base, size_t size); |
46 | void pic_enable_interrupt(int intnum); |
46 | void pic_enable_interrupt(int intnum); |
47 | void pic_disable_interrupt(int intnum); |
47 | void pic_disable_interrupt(int intnum); |
48 | void pic_ack_interrupt(int intnum); |
48 | void pic_ack_interrupt(int intnum); |
49 | int pic_get_pending(void); |
49 | int pic_get_pending(void); |
50 | 50 |