fix paths.
[AROS.git] / compiler / include / aros / io.h
blobc8f8b3e374e006f9f20b9c3cd5f5f7453ae12c20
1 #ifndef AROS_IO_H
2 #define AROS_IO_H
4 /*
5 Copyright © 2006-2011, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Oldstyle I/O macros
9 Lang: english
12 #include <asm/io.h>
14 #define BYTEIN(address) inb((port_t)address)
15 #define WORDIN(address) inw((port_t)address)
16 #define LONGIN(address) inl((port_t)address)
18 #define BYTEOUT(address, value) outb(value, (port_t)address)
19 #define WORDOUT(address, value) outw(value, (port_t)address)
20 #define LONGOUT(address, value) outl(value, (port_t)address)
22 #endif /* AROS_IO_H */