-/* Copyright (C) 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Phil Blundell, based on the Alpha version by
David Mosberger.
void
_outb (unsigned char b, unsigned long int port)
{
- if (port >= MAX_PORT)
- return;
-
*((volatile unsigned char *)(IO_ADDR (port))) = b;
}
void
_outw (unsigned short b, unsigned long int port)
{
- if (port >= MAX_PORT)
- return;
-
*((volatile unsigned short *)(IO_ADDR (port))) = b;
}
void
_outl (unsigned int b, unsigned long int port)
{
- if (port >= MAX_PORT)
- return;
-
*((volatile unsigned long *)(IO_ADDR (port))) = b;
}