This commit was generated by cvs2svn to compensate for changes in r2,
[btb/d2x.git] / arch / dos / mm_snd / include / mirq.h
1 #ifndef MIRQ_H
2 #define MIRQ_H
3
4 #include "mtypes.h"
5
6
7 #ifdef __WATCOMC__
8         #define MIRQARGS void
9         typedef void (interrupt far *PVI)(MIRQARGS);
10 #endif
11
12 #ifdef __DJGPP__
13         #define MIRQARGS void
14         typedef void (*PVI)(MIRQARGS);
15 #endif
16
17 #ifdef __BORLANDC__
18
19         #ifdef __cplusplus
20                 #define MIRQARGS ...
21         #else
22                 #define MIRQARGS
23         #endif
24
25         typedef void interrupt (far *PVI)(MIRQARGS);
26
27 #endif
28
29
30 BOOL MIrq_IsEnabled(UBYTE irqno);
31 BOOL MIrq_OnOff(UBYTE irqno,UBYTE onoff);
32 PVI  MIrq_SetHandler(UBYTE irqno,PVI handler);
33 void MIrq_EOI(UBYTE irqno);
34
35 #endif