--- np2/i386c/ia32/cpu_io.h 2005/03/12 12:32:54 1.3 +++ np2/i386c/ia32/cpu_io.h 2011/12/21 18:02:47 1.5 @@ -1,5 +1,3 @@ -/* $Id: cpu_io.h,v 1.3 2005/03/12 12:32:54 monaka Exp $ */ - /* * Copyright (c) 2003 NONAKA Kimihiro * All rights reserved. @@ -28,16 +26,18 @@ #ifndef IA32_CPU_CPU_IO_H__ #define IA32_CPU_CPU_IO_H__ +#include "interface.h" + #ifdef __cplusplus extern "C" { #endif -UINT8 cpu_in(UINT port); -UINT16 cpu_in_w(UINT port); -UINT32 cpu_in_d(UINT port); -void cpu_out(UINT port, UINT8 val); -void cpu_out_w(UINT port, UINT16 val); -void cpu_out_d(UINT port, UINT32 val); +UINT8 IOINPCALL cpu_in(UINT port); +UINT16 IOINPCALL cpu_in_w(UINT port); +UINT32 IOINPCALL cpu_in_d(UINT port); +void IOOUTCALL cpu_out(UINT port, UINT8 val); +void IOOUTCALL cpu_out_w(UINT port, UINT16 val); +void IOOUTCALL cpu_out_d(UINT port, UINT32 val); #ifdef __cplusplus }