more stack for boot
[minix.git] / include / minix / portio.h
blob852a7160e4b1f010f0f493338fc9249aafbabe67
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(U32_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 insb(U16_t _port, void *_buf, size_t _count);
21 void insw(U16_t _port, void *_buf, size_t _count);
22 void insl(U16_t _port, void *_buf, size_t _count);
23 void outsb(U16_t _port, void *_buf, size_t _count);
24 void outsw(U16_t _port, void *_buf, size_t _count);
25 void outsl(U16_t _port, void *_buf, size_t _count);
26 void intr_disable(void);
27 void intr_enable(void);
29 #endif /* _PORTIO_H_ */