--- np2/i386c/ia32/cpu_io.c 2004/03/08 12:56:22 1.5 +++ np2/i386c/ia32/cpu_io.c 2007/02/06 14:20:57 1.8 @@ -1,4 +1,4 @@ -/* $Id: cpu_io.c,v 1.5 2004/03/08 12:56:22 monaka Exp $ */ +/* $Id: cpu_io.c,v 1.8 2007/02/06 14:20:57 monaka Exp $ */ /* * Copyright (c) 2003 NONAKA Kimihiro @@ -12,8 +12,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -28,13 +26,16 @@ */ #include "compiler.h" + #include "cpu.h" #include "pccore.h" #include "iocore.h" +#include "memory.h" +static void IOOUTCALL check_io(UINT port, UINT len); -static void -check_io(UINT port, UINT len) +static void IOOUTCALL +check_io(UINT port, UINT len) { UINT off; UINT8 bit; @@ -64,7 +65,7 @@ check_io(UINT port, UINT len) } #if defined(IA32_SUPPORT_DEBUG_REGISTER) && CPU_FAMILY >= 5 -INLINE static void +INLINE static void IOOUTCALL check_ioport_break_point(UINT port, UINT length) { int i;