|
|
| version 1.4, 2011/01/15 17:17:23 | version 1.5, 2011/12/21 18:02:47 |
|---|---|
| Line 26 | Line 26 |
| #ifndef IA32_CPU_CPU_IO_H__ | #ifndef IA32_CPU_CPU_IO_H__ |
| #define IA32_CPU_CPU_IO_H__ | #define IA32_CPU_CPU_IO_H__ |
| #include "interface.h" | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" { | extern "C" { |
| #endif | #endif |
| UINT8 cpu_in(UINT port); | UINT8 IOINPCALL cpu_in(UINT port); |
| UINT16 cpu_in_w(UINT port); | UINT16 IOINPCALL cpu_in_w(UINT port); |
| UINT32 cpu_in_d(UINT port); | UINT32 IOINPCALL cpu_in_d(UINT port); |
| void cpu_out(UINT port, UINT8 val); | void IOOUTCALL cpu_out(UINT port, UINT8 val); |
| void cpu_out_w(UINT port, UINT16 val); | void IOOUTCALL cpu_out_w(UINT port, UINT16 val); |
| void cpu_out_d(UINT port, UINT32 val); | void IOOUTCALL cpu_out_d(UINT port, UINT32 val); |
| #ifdef __cplusplus | #ifdef __cplusplus |
| } | } |