memory: use sys_safememset() for /dev/zero
[minix.git] / include / minix / portio.h
blob4682a7b51b652b311c9f138bb28c3e8244d53c0e
1 /*
2 minix/portio.h
4 Created: Jan 15, 1992 by Philip Homburg
5 */
7 #ifndef _PORTIO_H_
8 #define _PORTIO_H_
10 #ifndef _TYPES_H
11 #include <minix/types.h>
12 #endif
14 unsigned inb(u16_t _port);
15 unsigned inw(u16_t _port);
16 unsigned inl(u16_t _port);
17 void outb(u16_t _port, u8_t _value);
18 void outw(u16_t _port, u16_t _value);
19 void outl(u16_t _port, u32_t _value);
20 void intr_disable(void);
21 void intr_enable(void);
23 #endif /* _PORTIO_H_ */