summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2004-12-27 21:02:27 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2004-12-27 21:02:27 +0000
commitd4231dd9c8e7af5646b4cab9d2cb897aff96bf2d (patch)
treec4339cb50f40b25120a89d1e3ed98aedc4c410ca /sys/arch
parentd75566c46ec7c1dbcc3c9674a296ca96d0605174 (diff)
unused
ok miod@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mac68k/include/pio.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/sys/arch/mac68k/include/pio.h b/sys/arch/mac68k/include/pio.h
deleted file mode 100644
index afca5eabe2e..00000000000
--- a/sys/arch/mac68k/include/pio.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* $OpenBSD: pio.h,v 1.4 2001/01/15 19:50:38 deraadt Exp $ */
-/* $NetBSD: pio.h,v 1.3 1994/10/26 08:46:38 cgd Exp $ */
-
-/*
- * Mach Operating System
- * Copyright (c) 1990 Carnegie-Mellon University
- * All rights reserved. The CMU software License Agreement specifies
- * the terms and conditions for use and redistribution.
- */
-
-#ifndef _MAC68K_PIO_H_
-#define _MAC68K_PIO_H_
-
-#define inl(y) \
-({ unsigned long _tmp__; \
- __asm__ __volatile__("inl %1, %0" : "=a" (_tmp__) : "d" ((unsigned short)(y))); \
- _tmp__; })
-
-#define inw(y) \
-({ unsigned short _tmp__; \
- __asm__ __volatile__(".byte 0x66; inl %1, %0" : "=a" (_tmp__) : "d" ((unsigned short)(y))); \
- _tmp__; })
-
-#define inb(y) \
-({ unsigned char _tmp__; \
- __asm__ __volatile__("inb %1, %0" : "=a" (_tmp__) : "d" ((unsigned short)(y))); \
- _tmp__; })
-
-
-#define outl(x, y) \
-{ __asm__ __volatile__("outl %0, %1" : : "a" (y) , "d" ((unsigned short)(x))); }
-
-
-#define outw(x, y) \
-{__asm__ __volatile__(".byte 0x66; outl %0, %1" : : "a" ((unsigned short)(y)) , "d" ((unsigned short)(x))); }
-
-
-#define outb(x, y) \
-{ __asm__ __volatile__("outb %0, %1" : : "a" ((unsigned char)(y)) , "d" ((unsigned short)(x))); }
-
-#endif /* _MAC68K_PIO_H_ */