vm: fix sanity checks on arm
[minix.git] / include / minix / portio.h
blob0075fb36cdf41c2c2f8a2ac38bb809b504632213
1 /*
2 minix/portio.h
4 Created: Jan 15, 1992 by Philip Homburg
5 */
7 #ifndef _PORTIO_H_
8 #define _PORTIO_H_
10 #include <sys/types.h>
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);
21 #endif /* _PORTIO_H_ */