1 #ifndef __LUNAIX_ARCH_PORT_IO_H
2 #define __LUNAIX_ARCH_PORT_IO_H
4 #include <lunaix/types.h>
13 port_rdbytes(int port, void* addr, int cnt)
25 port_rdwords(int port, void* addr, int cnt)
30 : "=D"(addr), "=c"(cnt)
31 : "d"(port), "0"(addr), "1"(cnt)
36 port_rddword(int port)
42 port_rddwords(int port, void* addr, int cnt)
48 port_wrbyte(int port, u8_t data)
54 port_wrbytes(int port, const void* addr, int cnt)
60 port_wrword(int port, u16_t data)
66 port_wrwords(int port, const void* addr, int cnt)
72 port_wrdwords(int port, const void* addr, int cnt)
78 port_wrdword(int port, u32_t data)
84 port_delay(int counter)
89 #endif /* __LUNAIX_ARCH_PORT_IO_H */