summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/cpufunc.h
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-09-12 11:12:18 +0000
committerasami <asami@FreeBSD.org>1996-09-12 11:12:18 +0000
commiteb29d43f47d2764ad43636b3330ead07bc46bd57 (patch)
tree7a5dd9f80c049a86290c39b23a26fb62a527daa9 /sys/i386/include/cpufunc.h
parent0db650cebc177b2f5bd89b47d0ede89ccbef2bfe (diff)
downloadFreeBSD-src-eb29d43f47d2764ad43636b3330ead07bc46bd57.zip
FreeBSD-src-eb29d43f47d2764ad43636b3330ead07bc46bd57.tar.gz
Another round of merge/update.
(1) Add PC98 support to apm_bios.h and ns16550.h, remove pc98/pc98/ic (2) Move PC98 specific code out of cpufunc.h (to pc98.h) (3) Let the boot subtrees look more alike Submitted by: The FreeBSD(98) Development Team <freebsd98-hackers@jp.freebsd.org>
Diffstat (limited to 'sys/i386/include/cpufunc.h')
-rw-r--r--sys/i386/include/cpufunc.h50
1 files changed, 1 insertions, 49 deletions
diff --git a/sys/i386/include/cpufunc.h b/sys/i386/include/cpufunc.h
index 0f54b11..7f23b8e 100644
--- a/sys/i386/include/cpufunc.h
+++ b/sys/i386/include/cpufunc.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cpufunc.h,v 1.53 1996/07/23 07:45:19 asami Exp $
+ * $Id: cpufunc.h,v 1.54 1996/08/01 20:29:28 wollman Exp $
*/
/*
@@ -262,54 +262,6 @@ outw(u_int port, u_short data)
__asm __volatile("outw %0,%%dx" : : "a" (data), "d" (port));
}
-#ifdef PC98
-#include <machine/spl.h>
-
-static inline u_char
-epson_inb(u_int port)
-{
- u_char data;
-
- outb(0x43f, 0x42);
- data = inb(port);
- outb(0x43f, 0x40);
- return (data);
-}
-
-static inline void
-epson_outb(u_int port, u_char data)
-{
- outb(0x43f, 0x42);
- outb(port,data);
- outb(0x43f, 0x40);
-}
-
-static inline void
-epson_insw(u_int port, void *addr, size_t cnt)
-{
- int s;
-
- s = splbio();
- outb(0x43f, 0x42);
- disable_intr();
- insw((u_int)port, (void *)addr, (size_t)cnt);
- outb(0x43f, 0x40);
- splx(s);
-}
-
-static inline void
-epson_outsw(u_int port, void *addr, size_t cnt)
-{
- int s;
-
- s = splbio();
- outb(0x43f, 0x42);
- disable_intr();
- outsw((u_int)port, (void *)addr, (size_t)cnt);
- outb(0x43f, 0x40);
- splx(s);
-}
-#endif /* PC98 */
static __inline void
pmap_update(void)
OpenPOWER on IntegriCloud