]> pd.if.org Git - zos/blob - pic.h
add a readme with a public domain note
[zos] / pic.h
1 #ifndef PIC_H_
2 #define PIC_H_
3
4 #include <stdint.h>
5
6 struct pic {
7         uint16_t (*readirr)();
8         uint16_t (*readisr)();
9         void (*reprogram)();
10         void (*deprogram)();
11         void (*mastereoi)();
12         void (*eoi)(unsigned int irq);
13 };
14
15 extern struct pic pic;
16 void pic_init();
17
18 #endif