xref: /minix/minix/include/minix/portio.h (revision 83133719)
1 /*
2 minix/portio.h
3 
4 Created:	Jan 15, 1992 by Philip Homburg
5 */
6 
7 #ifndef _PORTIO_H_
8 #define _PORTIO_H_
9 
10 #include <sys/types.h>
11 
12 unsigned inb(u16_t _port);
13 unsigned inw(u16_t _port);
14 unsigned inl(u16_t _port);
15 void outb(u16_t _port, u8_t _value);
16 void outw(u16_t _port, u16_t _value);
17 void outl(u16_t _port, u32_t _value);
18 void intr_disable(void);
19 void intr_enable(void);
20 
21 #endif /* _PORTIO_H_ */
22