summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2005-05-29 04:42:30 +0000
committernyan <nyan@FreeBSD.org>2005-05-29 04:42:30 +0000
commit0fce92f5c4e1bb05c348b1c481e9e4997a7900b4 (patch)
tree11cf0b1c58ae0ae1241d5d22b3cc1d2cd8a7c9d7 /sys/ia64
parent58d2b4c1934326f78f952f421b56521a36ed3026 (diff)
downloadFreeBSD-src-0fce92f5c4e1bb05c348b1c481e9e4997a7900b4.zip
FreeBSD-src-0fce92f5c4e1bb05c348b1c481e9e4997a7900b4.tar.gz
Remove bus_{mem,p}io.h and related code for a micro-optimization on i386
and amd64. The optimization is a trivial on recent machines. Reviewed by: -arch (imp, marcel, dfr)
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/include/bus.h11
-rw-r--r--sys/ia64/include/bus_memio.h31
-rw-r--r--sys/ia64/include/bus_pio.h31
3 files changed, 0 insertions, 73 deletions
diff --git a/sys/ia64/include/bus.h b/sys/ia64/include/bus.h
index 7e823f4..02fe8be 100644
--- a/sys/ia64/include/bus.h
+++ b/sys/ia64/include/bus.h
@@ -72,17 +72,6 @@
#ifndef _MACHINE_BUS_H_
#define _MACHINE_BUS_H_
-/*
- * Platform notes:
- * o We don't use the _MACHINE_BUS_PIO_H_ and _MACHINE_BUS_MEMIO_H_
- * macros to conditionally compile for I/O port, memory mapped I/O
- * or both. It's a micro-optimization that is not worth the pain
- * because there is no I/O port space. I/O ports are emulated by
- * doing memory mapped I/O in a special memory range. The address
- * translation is slightly magic for I/O port accesses, but it does
- * not warrant the overhead.
- */
-
#include <machine/_bus.h>
#include <machine/cpufunc.h>
diff --git a/sys/ia64/include/bus_memio.h b/sys/ia64/include/bus_memio.h
deleted file mode 100644
index 0b02084..0000000
--- a/sys/ia64/include/bus_memio.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*-
- * Copyright (c) 1997 Justin Gibbs.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions, and the following disclaimer,
- * without modification, immediately at the beginning of the file.
- * 2. 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 AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * $FreeBSD$
- */
-
-#ifndef _MACHINE_BUS_MEMIO_H_
-#define _MACHINE_BUS_MEMIO_H_
-#endif /* _MACHINE_BUS_MEMIO_H_ */
diff --git a/sys/ia64/include/bus_pio.h b/sys/ia64/include/bus_pio.h
deleted file mode 100644
index 5fdb891..0000000
--- a/sys/ia64/include/bus_pio.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*-
- * Copyright (c) 1997 Justin Gibbs.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions, and the following disclaimer,
- * without modification, immediately at the beginning of the file.
- * 2. 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 AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * $FreeBSD$
- */
-
-#ifndef _MACHINE_BUS_PIO_H_
-#define _MACHINE_BUS_PIO_H_
-#endif /* _MACHINE_BUS_PIO_H_ */
OpenPOWER on IntegriCloud